Search Unity

Blurry UI text with UI and TextMeshPro

Discussion in 'UGUI & TextMesh Pro' started by tnibbz, Feb 21, 2019.

  1. tnibbz

    tnibbz

    Joined:
    Aug 9, 2018
    Posts:
    4
    I am using unity 2018.3.5.f1 and I am consistently getting blurry text when using text and textmeshpro.
    Even when my scale is at 1 for the rectTransform of the text component and I just increase font size the text is always blurry.
    Things I have tried that didn't work
    • scaling down rectTransform and increasing font size to over 200
    • creating a brand new project
    • Using TextMeshPro and increasing atlas resolution
    • toggling pixel perfect on canvas
    • changing reference pixels per unit on canvas
    Is there some kind of rendering setting that I am missing? I don't know if this is relevant but the text is crisp in the scene view and blurry in game view. Thank you for any help?

    EDIT: Here are my settings in a newly created project
    https://imgur.com/VSSgwRi gameview & canvas scaler
    https://imgur.com/NEfV4k6 text inspector
    https://imgur.com/VIe9Y9c font asset inspector
    https://imgur.com/V20mjpu material inspecto
     
    Last edited: Feb 22, 2019
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Can you post some screenshots of the GameView and then the text component inspector so I can see the setting on the TextMeshPro object.

    If you are using the Canvas system, are you using a Canvas Scaler and if so please post a picture of the settings there.

    Also post an image of the material inspector of the text object with the debug panel expanded on the material inspector.

    Lastly an image of the font asset inspector so I can see the setting on the font asset.
     
    tnibbz likes this.
  3. tnibbz

    tnibbz

    Joined:
    Aug 9, 2018
    Posts:
    4
    Thank you! I updated my post with the information you requested.
     
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    The Gameview and canvas scaler image is the same as the Material Inspector. Make sure you do have an image showing this blurry text.

    P.S. Also make sure your Gameview zoom is set to a value of 1x as seen below

    upload_2019-2-21_19-1-22.png
     
    MarkTension likes this.
  5. tnibbz

    tnibbz

    Joined:
    Aug 9, 2018
    Posts:
    4
    Wow, the gameview thing was the issue, I set the value to 1 and text looks much clearer. Feel like a such a noob xD
    thanks for the help!
     
    LaKais likes this.
  6. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    You are most welcome and this is not the first time someone falls prey to this Game view zoom slider. So glad we got this sorted out :)
     
    LaKais likes this.
  7. Saraswati_JCI

    Saraswati_JCI

    Joined:
    Dec 20, 2018
    Posts:
    9
    TextMesh Pro Looking Blurry:
    I am building unity WebGL build and it looking very blurry. Is there any solution to resolve this?
    Note: It is looking good in the editor and for the iOS build.

    Thanks in Advance.