Search Unity

TextMesh Pro The plugin crashed and now the text fields dont show up

Discussion in 'UGUI & TextMesh Pro' started by ElevenAB, Apr 2, 2018.

  1. ElevenAB

    ElevenAB

    Joined:
    Dec 7, 2016
    Posts:
    2
    Ive been using TextMeshPro for all text components in a game I've creating entirely in the UI canvas.
    However, unity crashed the other day and for some reason I've been having troubles with the plugin.

    To explain it better here are 2 images,

    https://postimg.org/image/x3guhmua5/

    and

    https://postimg.org/image/paq6pobgd/

    The first one is how the view looks in the scene window and the second one is how it looks in the game window.
    Deploying it on devices also give the same output as the second image.
    However, not all my texts were effected like this.

    Upon further debugging, I found out that only the text where I change the transform/parent's scale get effected.
    Rebuilding the font assets didnt work. Reimporting the plugin didnt help.
    I've tried looking for relevant answers but to no avail.

    Any help would be appreciated.

    Edit #1 : Okay, this seems to be problem only when I set my Canvas render mode to Screen Space - Camera.. All texts show up well (even the animated ones) if I set the render mode to Space - Overlay.. Is there anything specific I would have to do to make it work for Screen Space - Camera?
     
    Last edited: Apr 2, 2018
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    When you set the Canvas to Screen Space Camera, do you assign the camera to the Canvas?

    For the test to render correctly, the scale of the text object must be uniform so you need to make sure your (x, y, z) are all the same. Sometimes users leave the z = 0 which will cause rendering issues.

    If neither of these things help you identify the source of the issue, please submit a bug report along with the project. Please be sure to provide the Case #.