Search Unity

TMPro in scene looks great, but in game terrible

Discussion in 'UGUI & TextMesh Pro' started by Vojfrom, Feb 4, 2020.

  1. Vojfrom

    Vojfrom

    Joined:
    Feb 4, 2020
    Posts:
    2
    Hi. I hope, that I'm supposed to write here, because idk what to do.
    1, I donloaded the font, that I liked (you can download it here: https://dl.1001fonts.com/so.zip) and that I found here: https://www.1001fonts.com/small-text+pixel-fonts.html?page=5&items=10.
    2, I imported the font (There were several, but I chose the one with name "SONORM__").
    3, I created the actual TextMeshPro font through right click-> create-> TMPro -> Font Asset
    4, In the scene view, everything looks fine. I did not change anything crutial, but in the game (see in attached files).. It's too pixeled and weird looking and I just don't know why.

    I watched several tutorials about the settings, searched for forums, that solved this.. Nothing works. Please help :D It's been 4 hours now.
    I tried to scale it, resize it, change random values, change filter seetings.. I even tried to make the font myself through font asset creator. Nothing works.
    I'll also upload picture of the settings, that the font has (It's the default setting, that Unity gave it).
     

    Attached Files:

  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,596
    What is the point size of the text?

    Are you using a CanvasScaler on the Canvas?
     
  3. Vojfrom

    Vojfrom

    Joined:
    Feb 4, 2020
    Posts:
    2
    Thank you for reply. I tried to build the game to see how bad it is. The result surprised me. It had built nice and high quality text. Idk why is that, but it solved the problem.