Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
1
Question by PeterK · Apr 03, 2011 at 08:09 PM · compile-error

Font size and style overrides are only supported for dynamic fonts. UnityEditor.DockArea:OnGUI()

I get this message and i have no idea to fix this. I have found this: http://forum.unity3d.com/threads/58161-Unity-3-b6-iPhone-Fonts-problem

However it does not solve my problem. All is working but i get a bunch of these messages and that is annoying.

Thanks in advance.

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

3 Replies

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

Answer by phtphan · Nov 30, 2011 at 03:05 AM

Jus set FONT SIZE to 0 and FONT STYLE to Normal.

This will solve the problem.

alt text

Note that there's kind of a silly issue or bug in Unity5 where, if you've ever set it to a value (say "1") you can never again set it back to zero. If this happens, simply click to make a new TextMesh from scratch and delete the old one.


screen-shot-2015-11-28-at-120538-pm.png (55.4 kB)
Comment
Add comment · Show 6 · 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 peter · Mar 30, 2012 at 07:31 PM 0
Share

Thx for the answer!!!

avatar image anilgautam · Jan 07, 2013 at 07:41 AM 0
Share

Has the problem got solved by using this?

avatar image Tabu · Apr 21, 2013 at 02:42 PM 0
Share

Thanks, this solved the problem for me :)

avatar image bharathi.y · Apr 03, 2014 at 10:26 AM 0
Share

Could you please tell me how did you set Font Size to 0?

avatar image jmasinteATI · Aug 24, 2015 at 12:09 AM 2
Share

You'll notice changing the font style is grayed out if you try to change it. To change it, you have to set the Font to a true type font like Arial. Then you can set the style to "Normal." After that, you can change the font back to your custom font.

Show more comments
avatar image
1

Answer by jakovd · Apr 10, 2012 at 09:58 AM

I had the same problem when I was building a Web Player with "Enable NaCl support" (checked in File>Build settings) as dynamic fonts are not (yet) supported in Native Client.

http://unity3d.com/support/documentation/Manual/nacl-gettingstarted.html (see Limitations in NaCl)

If you do not target NaCl you should switch it off. I recommend that you select a different build platform (like PC and Mac standalone), click the "Switch platform" button and then revert back to Web Player without NaCl and click "Switch platform" again. This way fonts will be reimported and this problem will not exist any more.

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
avatar image
0

Answer by Suguma · Nov 27, 2015 at 10:24 AM

phtphan's answer is perfect. But you also have to make sure your "Font style" is Normal. Once you switch to a non-dynamic font, Unity will lock the Font Style variable. Before you change to a non-dynamic font, change the Font Style to Normal.

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.

Follow this Question

Answers Answers and Comments

8 People are following this question.

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

Related Questions

How do I use a toolbar? 1 Answer

weird compilation error 2 Answers

ArgumentException: The Assembly System.Configuration is referenced by System.Data. But the dll is not allowed to be included or could not be found. 1 Answer

Custom Build step before compilation 1 Answer

Create Button without If Statement 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