Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro TextMeshPro font atlas instances taking up memory

Discussion in 'UGUI & TextMesh Pro' started by CodeKino, Sep 26, 2023.

  1. CodeKino

    CodeKino

    Joined:
    Jul 9, 2015
    Posts:
    3
    Recently, noticed that memory has spiked up for my game, causing crashes for many users. Did a memory profile and found out that the materials generated from the font atlases from TextMeshPro was duplicated up to 100,000 times.

    Anyone know what's up with this and how can I reduce the memory usage?
    Screenshot 2023-09-26 at 2.15.46 PM.png

    This is my font atlas:
    Screenshot 2023-09-26 at 2.16.43 PM.png