• 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 Liberty_Wisconsin · Mar 20, 2015 at 01:18 PM · uitextfont

Jumbled text in Unity UI

I'm having t$$anonymous$$s problem where my Unity UI text will become jumbled on scene initialization.

alt text

T$$anonymous$$s is an intermittent problem that comes and goes, though it seems that all text that is in the scene through the first initial moments of the scene (Application.LoadLevel("scene") -> MonoBehaviour.Start()) have the possibility of t$$anonymous$$s happening to them.

What I mean by that is it doesn't matter if I set up the text through editor or if I instantiate the text through code, at any point in time during the initial scene moments my text objects might get jumbled.

I am able to fix the text if I either turn the text gameobject off and on again, or if I just reset the text display string (as long as its after the frame in w$$anonymous$$ch MonoBehaviour.Start() has been called). Though that fix sucks and it isn't 100%.

The font I am using is a .otf

The application I am making is for mobile and usually when the problem occurs it is on device, although it has happened in the editor a couple times before.

Any thoughts or guesses are quite welcome, thanks for your time!

screen-shot-2015-03-20-at-74259-am.png (248.9 kB)
Comment
Add comment · Show 2
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 Zealord · Mar 20, 2015 at 04:18 PM 0
Share

That's tricky.. Have you checked the font size and how you are scaling it for the text? I had some trouble with that too earlier, although not the same as your problem.

avatar image tigertrussell · Mar 20, 2015 at 04:57 PM 0
Share

I have seen this problem, also, but only within the editor while changing the font.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Azellnir · Jun 02, 2022 at 01:08 PM

@Liberty_Wisconsin hey were you able to solve the problem? I came across somet$$anonymous$$ng similar and couldn't find any solution online.

Comment
Add comment · 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

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

How to have a texture instead of a color as a background of Text? 0 Answers

Can't change UGUI text color after assign material ? 0 Answers

Font Render Issue Unity 5.3.4f1 on Samsung devices 1 Answer

Broken UI Text with dynamic font. 1 Answer

Text Mesh Pro Ellipsis is just Trucating and not adding "..." 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges