Font texture growing memory problem

I use many dynamic text in my project. When I run the application on Android, if I open the panels, the memory usage increases. Finally, the application crashes. While the “font texture” occupies 4mb in the editor profile, it is 300 - 400 mb on Android. I tried everything but couldn’t find a solution. What would be the reason?

Similar to the event: https://www.google.com/url?sa=t&source=web&rct=j&url=https://stackoverflow.com/questions/60150623/high-memory-usage-unity-profiler-shows-that-a-single-font-texture-takes-up-mor&ved=2ahUKEwiq2_K7x4vsAhXStHEKHUOQDigQFjABegQIChAB&usg=AOvVaw34sa-Fbt5wxftcJityv5de

1 Like

did you have fixed that, i`m facing the same problem now, feeling so bad …

Are you using UGUI (Canvas-based) or UI Toolkit (UIDocument/PanelSettings?
If using UGUI, are you using Text Mesh Pro or the default Text components?

I am using default text. there is no problem with the editor but problem is in android.

I used text mesh pro and the problem was solved.

1 Like