Search Unity

TextMesh Pro Text rendering problem in v3.2.0pre3

Discussion in 'UGUI & TextMesh Pro' started by abcjjy, Jul 25, 2022.

  1. abcjjy

    abcjjy

    Joined:
    Mar 6, 2015
    Posts:
    35
    I'm upgrading my projects from Unity2019 to 2020. I was using TMP v2.2.0pre3 in Unity 2019. After upgrade to Unity2020 and TMP v3.2.0pre3, text rendering breaks.

    Following text is rendered with the sample "LiberationSans SDF" font. The shader is set to "TextmeshPro/Distance Field".
    截屏2022-07-25 08.40.29.png

    After changing the shader to "TextmeshPro/Mobile/Distance Field", it becomes this. Please note the blurry underline.
    截屏2022-07-25 08.39.34.png

    I've tried different font point size and shader settings. None of them works.

    Unity 2020.3.37
    TextmeshPro v3.2.0-pre.3
     
  2. abcjjy

    abcjjy

    Joined:
    Mar 6, 2015
    Posts:
    35
    I solved this problem by reimporting the essential resources.

    It would be better if TMP could prompt an upgrade guide.
     
  3. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,596
    There is an "Upgrade Note" in the package description to inform users of the need to update the TMP Essential Resources and well as TMP Examples & Extras but this note is too easily overlooked as adding such notes in the package description is not ideal in the first place.

    I did suggest to the package manager team to add some mechanism to allow package publishers to popup some Update Notice window that would enable us to provide this type of important information.