-
Notifications
You must be signed in to change notification settings - Fork 153
Open
Description
I have created multiple text font textures fontUnitySheet,fontUnitySheet2x,fontUnitySheet4x and set them in TextUIToolkit.
These coordinates file contains the actual font files i.e fontUnity.png and fontUnity.txt .
There was an exception ,
Exception: can't find texture details for texture packer sprite:fontUnity.png
There are no errors when run in 1x mode ,everything is working fine , but in HD mode :
The GUIButtons are selected correctly ,but the text is not being recognized.
The exception is at :
UISpriteManager.cs line08 :
public Rect frameForFilename( string filename )
{
if UNITY_EDITOR
// sanity check while in editor
if (!textureDetails.ContainsKey(filename))
{
throw new Exception("can't find texture details for texture packer sprite:" + filename);
}
endif
return textureDetails[filename].frame;
}
Is there any workaround for this ?
Metadata
Metadata
Assignees
Labels
No labels