• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Galiderath · Jan 06, 2016 at 08:57 PM · unity 5uitextresolutionnot working

UI Text Disappears At Some Resolutions

So, I'm currently working on an options menu, but the thing that is happening is that some of the UI text doesn't show up on some resolutions.

alt text

So this is what it should look like (currently at 960x540)

alt text

And this is what it shouldn't look like (at 1280x720)

It's almost random at which resolutions it does or doesn't work. If anyone knows why this is happening, and preferably also how to fix it, I would be very happy :D

I'm working in Unity 5.3.0f4 Personal Edition.

menu-working.png (65.4 kB)
menu-notworking.png (69.2 kB)
Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image callen · Jan 06, 2016 at 10:05 PM 0
Share

I would say also attach a screenshot of the inspector (esp rect transform and text) for the text item which is acting weird, in case there are some settings there that are funky (like a relative offset that moves the text out of view?)

Also what happens if you switch to free aspect, and resize the editor to change the view size? $$anonymous$$aybe you can spot a pattern of when the text is or isn't onscreen?

Other than that, this looks very strange to me!

EDIT: and one more thing that might help are the inspector settings on your Canvas holding all of this

avatar image Galiderath callen · Jan 07, 2016 at 02:53 PM 0
Share

text-inspector

This is what the inspector for the text looks like.

canvas-inspector

This is what the inspector for the canvas looks like.

I'm going to test whether there is a pattern or not, it would only be logical if there was.

menu-textstuff.png (49.2 kB)
menu-canvas.png (36.6 kB)
avatar image callen Galiderath · Jan 07, 2016 at 08:29 PM 0
Share

Hmm everything there looks pretty typical. Were you able to slide the screen around in free aspect and see anything useful?

The only other suggestion I might have is try switching the Canvas Scaler's Screen $$anonymous$$atch $$anonymous$$ode to "$$anonymous$$atch Width or Height" since this usually preserves the relative positioning of objects pretty well.

I can't think of any issues except the layout-related ones, so if you still have trouble I guess adding a screenshot of your canvas hierarchy might help. Good luck!

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
6
Best Answer

Answer by vtran · Feb 01, 2017 at 09:06 AM

Try setting Vertical Overflow in your text boxes to Overflow instead of Truncate.

similar: http://answers.unity3d.com/questions/868274/unity-461-font-size-cannot-go-over-25.html

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image rbosse · Feb 13, 2019 at 05:36 AM 0
Share

Old post but thank you!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Cannot drag text object into inspector 2 Answers

using UnityEngine.UI; 'Not necessary' although I need to use 'Text' and '.text'. Also unable to drag-and-drop the Text from my canvas into the 'text' slot. 1 Answer

Text Highlight word by word when background voice is playing. 0 Answers

Unity UI - Color only 1 line 1 Answer

UI Text & Resolution Scaling 2 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges