Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Does TextMeshProUGUI re-calculate Canvas if the text is not changed

Discussion in 'UGUI & TextMesh Pro' started by theforgot3n1, Jul 6, 2023.

  1. theforgot3n1


    Sep 26, 2018

    Our game has some performance issues as a consequence of text mesh pro UI components doing re-calculations of different kinds. The main issue I have with that is that, for the most part, the TMP components don't actually change.

    Mostly it's just

    TextMeshProUGUI component has text = "hello there everyone"

    I change the text through script to "hello there everyone"

    TMP causes a lot of recalculations due to "changing" the text.

    Is it possible to make TMP not re-calculate anything unless the change is actual?