- Home /
Question by
ZWLSOFTWARE · Jan 22, 2021 at 04:07 PM ·
textlagprofilertextmeshmobile devices
textmeshproUGUI.rebuild() Lag on mobile devices
I have a textmesh pro text object on a canvas it reads the distance of the player to a object (for example 125 meters, the player moves a bit backwards then its 130 meters so the text showed, 126 meters, 127 meters, 128 meters, etc)
For some reason, this is causing abnormal lagg spikes in the game.. visible on the profiler. And it only seems to happen on mobile devices (not the editor)
[see picture for profiler]
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613023810im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why won't my TextMeshPro text render? 0 Answers
How to reduce Draw-Calls? 1 Answer
TextMeshPro change value with slider 1 Answer
Extreme lag in game 1 Answer