Author Topic: Attempting to print using an invalid font!  (Read 2946 times)

goat

  • Guest
Attempting to print using an invalid font!
« on: March 15, 2013, 10:03:14 PM »
OK, I'm getting the following error with a custom Atlas / Font that I've attached. I have not ideal what to fix. It must be that the nGUI atlas / font layout has changed. How do I fix the attached font & atlas so that it works with the latest version of nGUI?

Attempting to print using an invalid font!
UnityEngine.Debug:LogError(Object)
UIFont:Print(String, Color32, BetterList`1, BetterList`1, BetterList`1, Boolean, SymbolStyle, Alignment, Int32, Boolean) (at Assets/NGUI/Scripts/UI/UIFont.cs:853)
UILabel:OnFill(BetterList`1, BetterList`1, BetterList`1) (at Assets/NGUI/Scripts/UI/UILabel.cs:618)
UIWidget:UpdateGeometry(Matrix4x4&, Boolean, Boolean) (at Assets/NGUI/Scripts/Internal/UIWidget.cs:431)
UIPanel:UpdateWidgets() (at Assets/NGUI/Scripts/UI/UIPanel.cs:848)
UIPanel:LateUpdate() (at Assets/NGUI/Scripts/UI/UIPanel.cs:983)

Because the GUI Atlas & GUI font is 1.83 MB I had to upload to a SkyDrive if you need to see these files to say how to fix them for the latest version of nGUI:

[removed the link since I fixed the problem]

« Last Edit: March 15, 2013, 10:38:16 PM by goat »

goat

  • Guest
Re: Attempting to print using an invalid font!
« Reply #1 on: March 15, 2013, 10:37:35 PM »
OK, I've fixed the above by regenerating each of fonts with the correct Atlas chosen and replace.