Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Please assign a Font Asset to this TextMeshPro gameobj

Discussion in 'UGUI & TextMesh Pro' started by Michael_Sluckin, Dec 14, 2020.

  1. Michael_Sluckin

    Michael_Sluckin

    Joined:
    Dec 7, 2020
    Posts:
    8
    I imported a unity project and for some reason the warning "Please assign a Font Asset to this TextMeshPro gameobj" appears and the Scene doesn't look how how supposed.

    I really need your help, I am a real beginner at unity.

    Thx
     

    Attached Files:

  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    This is likely because you did not import the TMP Essential Resources. These resources a essential as they contains font assets and other resources like shaders used by TMP.

    The first time a TMP text object is created or a scene loaded that references a TMP object, a window should appear asking you to import the TMP Essential Resources as well as TMP Examples & Extras which I recommend you import and review to learn more about the tool.

    You can manually import these resources by going to the Window - TextMeshPro - Import TMP Essential Resources menu item.
     
  3. Michael_Sluckin

    Michael_Sluckin

    Joined:
    Dec 7, 2020
    Posts:
    8
    Thanks Stephan_B !!!
     
  4. RenanBungarra

    RenanBungarra

    Joined:
    Mar 25, 2020
    Posts:
    1
    I'm having the same problem when I instantiate a canvas, but this error just happens after I built the project, and not in the editor. this is making my whole UI White.
    If I go to another screen and come back to the same screen everything goes back to normal, the only difference is that the first time I have these warnings and the second time when everything was working I didn't have any warning so I thought that it might be related to it. any other tip besides import TMP Essential, should I reimport it because I already have it.