2D Toolkit Forum
2D Toolkit => Support => Topic started by: test84 on January 27, 2014, 02:04:16 pm
-
Hi,
I just upgraded to 2.3.3 just to realize that all the fonts' in TextInputs are broken. I think the material was set to an incorrect font but I changed it and didn't fix it.
Thanks.
-
Does it look something like this?
http://2dtoolkit.com/forum/index.php/topic,2181.msg10918.html#msg10918
If ttats the issue -
I can't find the post where I did get to the bottom of it - its a Unity bug which tries to compile the font as a c# script during import and that breaks the link between the font and the sprite collection. Reassiging the bmfont and committing the sprite collection should fix it.
-
Yes that's exactly what happens. But I could not understand what you described to do.
Cheers.
-
Open the sprite collection that hosts that font. Find the font in there, it should read "Empty". Reassign the bmfont slot and commit the collection.
-
Thanks, that did it. Please note that I tried a new Unity 4.3.2f1 project and imported tk2d and it still had the same bug.
-
That is caused by a nasty Unity bug. It happens sometimes (never had it happen on my tests, but I've got a few projects where it is broken) and there doesn't seem to be any indication its happened. Not sure how to "fix" it since I can't detect Unity screwing it up.
-
Let me give you more info on my setup so it might help:
Unity 4.3.2f1, OS X 10.9.1
Let me know whatever else you might want to know and I'll respond willingly.