Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

TextMesh Pro TextMesh Pro isn't showing when Loading from a level different level

Discussion in 'UGUI & TextMesh Pro' started by RafaelRiva, Jun 21, 2019.

  1. RafaelRiva

    RafaelRiva

    Joined:
    Sep 14, 2018
    Posts:
    6
    Hello everyone!

    I have being struggling with this error all day long.

    I have 2 scenes, both are working perfectly when I hit play on the incividual scene. However,
    When I link the scenes via:


    SceneManager.LoadScene("MainMenu", LoadSceneMode.Single);


    The Textmesh Pro text don't show up again.

    Here is the example:



    As you can see, all the Canvas elements are working as they should, but the Text is missing when you reload the scene.


    Wierdly enough, when you move the clipping planes they show up.





    More Screenshots to help:
     

    Attached Files:

  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    If after loading /changing the scene, does the text show up again if you change any of the properties of the text?

    Can you provide a simple repro project or submit a bug report with the included project so I can take a look at it? The issue is most likely not related to TMP but to caching of material / texture in Unity where the reference to the texture might get lost in the switch.

    P.S. I have seen this type of issue come and go between versions of Unity so it might be worth testing in a difference version of Unity.