Search Unity

TextMesh Pro [ BUGS ] Game View ~> Can see Black Box . Scene view ~> Can see TMPro font

Discussion in 'UGUI & TextMesh Pro' started by KarlKarl2000, Feb 11, 2020.

  1. KarlKarl2000

    KarlKarl2000

    Joined:
    Jan 25, 2016
    Posts:
    606
    Hi guys,

    Anyone know why this is happening and how to fix it? TMPro has a lot of powerful features, but it's got bugs.

    screenshot.14.jpg

    screenshot.15.jpg
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Are you doing any kind of scaling / animating of the scale on the text object?

    You also appear to be using one of the surface shaders that requires lighting in the scene. Make sure you have appropriate lighting on the text object.

    If adjusting lighting doesn't do the trick and assuming the issue isn't scale related, switch to the normal Distance Field shader to see if the text renders correctly.

    If the text renders correctly, then we know if it potentially lighting related. If that is the case, I noticed that you are using Aura Preview which I am not familiar but it appears it might be affect lighting so see if disabling that has any affects on the text rendering.
     
    Last edited: Feb 11, 2020
    vozcn likes this.
  3. KarlKarl2000

    KarlKarl2000

    Joined:
    Jan 25, 2016
    Posts:
    606
    This was it! Thank you!