GUIText not showing up on android

I have a GUIText that is stored in a prefab object and I am instantiating copies of it at run time. They get bigger (font wise) and then destroy themselves after a time (1 sec atm).

Now here is the kicker it works just fine in the editor and in a web build (havent tried any others). The GUIText shows up, does its jig, dies. However if I build/deploy to android (the target) the GUIText just doesnt show up at all. Any idea what I am doing wrong?

Thanks,

1 Answer

1

Figured it out, the mobile platforms don't allow you to use dynamic fonts. That is to say any font where you are changing its size at runtime. The solution was to grab several different fonts at various sizes and use them specifically changing guiText.font instead of the font size.

Cheers