I am having a problem with the Unity UI Text component on iOS where the text will be missing seemingly random letters, or the characters will just disappear entirely. I can't seem to reproduce the issue in editor.
Here are some screenshots:
![alt text][1]
![alt text][2]
[1]: /storage/temp/40687-text4.png
[2]: /storage/temp/40686-text3.png
The text on this button is supposed to say "Collect". Sometimes letters are missing (not always the same letters), and other times none of the letters appear at all, but this issue isn't happening 100% of the time. Sometimes I will load the scene with this UI element, and it will appear completely fine.
I have tried using a number of different fonts, including both the default Arial, and custom .otf fonts, but they all exhibit the same behaviour. All of these fonts have been set to dynamic, as I assume is required for the canvas scaler to work on them.
The canvas that the UI elements are on is set to Screen Space - Overlay, and has a Canvas Scaler component attached.
Screenshots of the Canvas, Text, and Font: http://imgur.com/a/aSMyG
Edit: This problem goes away if I set the font to "Unicode" instead of "Dynamic". Problem then is that the larger Text element fonts are being scaled up instead of actually increasing font size, causing blurry text. I can increase the size of the imported font to fix this, but it's not exactly ideal.
↧