Search Issue Tracker
Fixed
Votes
93
Found in
4.0.1f2
Issue ID
515409
Regression
No
Dynamic Font rendering performance issues on iOS
This test project renders a string of N random characters every frame.
Testing on an iPad 2 with a string of 30 characters the font generation step would take 70ms. It becomes slower as more characters are added to the string.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Changing the Visual Element size moves it when two visual elements are close to each other
- Open Reference for Default Style Sheet asset redirects to missing page
- Undoing changes to Default Style Sheet does not show change until editor refresh
- TextMeshPro Caret has an active raycast when TMP_InputField is non-interactable
- Shadows do not smoothly fade in when transitioning between real-time shadows and baked distance shadows
chrismarch
Sep 24, 2015 17:03
http://forum.unity3d.com/threads/5-2-terrible-performance-spike-causing-by-font-cache.353794/
Aras
Sep 02, 2015 15:34
FYI: 5.1 dynamic fonts performance regression on iOS has been fixed in 5.1.2p1
TerrenceRao
Aug 12, 2015 07:29
Same issue on 5.1.1f1. take long time to load scene that contains many text object.
hugebug
Aug 03, 2015 03:49
Same on 5.1.1p4
gregory_igromatic
Jul 08, 2015 13:55
Same on 5.1.1p3 5.0 was ok. When switching localizations for the interface. iOs only.
Klamore74
Jun 30, 2015 09:25
About 65% of time spent on RequestCharactersInTexture are spent in iphone::GetFontPath()
doppelmonster
May 04, 2015 11:39
same problem as "theplotlessplot". Same scenario, same problem. I didnt try to resize the text but by turning the GO off i got rid of the spikes ... please fix it!
plotlessplot
Feb 19, 2015 17:33
I have the same problem as THINKYHEAD_. I have a UI Text element that gets updated whenever my game's score changes. I'm using a Canvas set to "Scale With Screen Size" (with the iPhone 5C's resolution as reference), which means that my font size needs to be set to 120-140 in order to be visible on the 5C. With some fonts, the game completely stalls for a fraction of a second when updating the Text element. With other fonts, the stalling is more sporadic. Reducing the font size gets rid of the problem, but the text becomes too small to read.
abrown252
Nov 20, 2014 21:36
Using a dynamic font for a loading screen - takes approximately 2s on an iPad 2 to to render when SetActive is called.
thinkyhead_
Feb 19, 2014 20:06
Perhaps related, I have a set of several GUIText objects where I'm changing the text periodically in 25 of them, running on an iPad 3. Whenever these GUITexts are changed there's a complete stall in the Unity App. This stalling, often a half second or more, almost always occurs. I had been trying to also do animation by increasing the font size in a GUIText and although it nearly worked, I experienced stalls and even more pronounced effects such as all the other GUITexts on the screen glitching for a second.