Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Creating a text mesh pro font from a specific google font crashes Unity

Discussion in 'UGUI & TextMesh Pro' started by ManuelRauber, May 10, 2019.

  1. ManuelRauber

    ManuelRauber

    Joined:
    Apr 3, 2015
    Posts:
    122
    Hi,

    I've tried to convert Baloo (https://fonts.google.com/specimen/Baloo?selection.family=Baloo) via TextMesh Pro 1.3 (Unity 2018.3.14f1). When I generate the font asset via the Text Mesh Pro Font Asset Creator (everything set to default, except the character range, which is set to ASCII Extended), Unity crashes.

    Is there any possibility to see a log file or something like that? Unity Crash Reporter does not come up.

    Is there anything I can do to import that font file?
     
  2. SugarSores

    SugarSores

    Joined:
    Jul 4, 2012
    Posts:
    9
    Just had the same thing happen to me (Unity 2018.3.14f1). Sad. Picked another font, worked fine.
     
  3. SugarSores

    SugarSores

    Joined:
    Jul 4, 2012
    Posts:
    9
    Ayy, I fixed it.
    upload_2019-6-18_3-26-7.png
    This is how:
    1. I deleted the "TextMesh Pro" folder in assets.
    2. Opened the package manager, removed TextMesh Pro.
    3. Open the file explorer so you can see the root of the project, search for "TextMesh" and delete everything you find with no mercy.
    4. Package manager, import TextMesh Pro.
    5. Tadaa...
     
    devlaskcontact likes this.
  4. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    Was it that specific font that was crashing with the older version of TMP?

    P.S. I missed that original post and can take a look tomorrow to see if I notice anything special about this font.
     
  5. MassimoFrancesco

    MassimoFrancesco

    Joined:
    Jul 6, 2019
    Posts:
    44
    Thanks Sarmagophilis, that helped.

    Had the same issue, TMP would crash Unity, with every Font I tried to create with Font Asset Creator. Worked fine before. At some point it just stopped working.

    Using Unity 2018.4.1f1.
    Uninstalled and deleted TMP 1.3.0 from my project.
    Installed TMP (I chose 1.4.1 this time).

    Works again.
    Maybe it would have worked with 1.3.0 again as well.
     
    williamfalvo likes this.
  6. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    If anyone runs into the situation again, please submit a bug report with the project. This will enable me to figure out what might be causing this behavior.
     
  7. Max609

    Max609

    Joined:
    Sep 28, 2017
    Posts:
    2
    I just found it too .... Will submit a bug report
     
  8. Max609

    Max609

    Joined:
    Sep 28, 2017
    Posts:
    2
    For reference ....
    Uninstall TMPro
    Re-install ... BUT select v1.4 from the dropdown (not the default v1.3)

    Seemed to work for me (Thanks Massimo)
     
    williamfalvo likes this.
  9. iseta

    iseta

    Joined:
    May 5, 2016
    Posts:
    48
    This solved the issue for me, I was using Samsung Sharp Sans.
     
  10. williamfalvo

    williamfalvo

    Joined:
    Feb 19, 2020
    Posts:
    1
    This work for me. Thank u
    I used Unity 2018.3f2