- Home /
OS Error with fonts?
Hi!
So, I've just switched my computer from one mac to another. I'm using 3 custom fonts in my project, which I think is the reason that it's giving me this error, which points to a GUI.Label line in a script. I wasn't getting this error on the previous computer...any idea why it's popped up, and how to fix it? I'm much obliged.
Cheers,
Simon
OS Error code: -8796 UnityEngine.GUI:Label(Rect, String, GUIStyle) Credits GUI:OnGUI() (at Assets/Scripts/GUI Scripts/Credits GUI.js:62)
Answer by jonas-echterhoff · Jun 13, 2011 at 06:09 AM
It appears that Mac OS X has a problem rendering that particular font. Try either using a different font, or switching your import options for the font from "Dynamic" to one of the other options (which will pre-generate a font texture using FreeType instead of using OS font rendering at runtime).
Your answer
Follow this Question
Related Questions
Possible to change GUI.Label fontsize without using GUIStyle? 1 Answer
How to set the font size in GUI.Label 2 Answers
Changing a GUILabel text SIZE 3 Answers
Color.white not so much white... 3 Answers