Search Unity

TextMesh Pro Missing character warning in Unity2019.3

Discussion in 'UGUI & TextMesh Pro' started by Micz84, Feb 19, 2020.

  1. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    451
    I get this warning from TextMeshPro:
    The character used for Underline and Strikethrough is not available in font asset
    The character used for Ellipsis is not available in font asset

    I think I do not use these characters in my scene.
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    This warning is to let you know that the primary font asset assigned to the text object does not contain the Underline character used for underlining text and the Ellipsis character which is used in the Text Overflow Ellipsis mode to indicate some of the text has been truncated.

    This warning is purely informative. Warning can be disabled in the TMP Settings.

    Having said that, there is a bug currently where using Text Overflow Ellipsis mode with a primary font asset that is missing this Ellipsis character will result in a null reference exception error. This issue is known and something that I am working on resolving as we speak.
     
  3. Micz84

    Micz84

    Joined:
    Jul 21, 2012
    Posts:
    451
    Thank you for your fast response. I will disable warnings then.
     
  4. hsrehman01

    hsrehman01

    Joined:
    May 11, 2021
    Posts:
    8

    As You said that we should disable the warnings but I don't know how to disable the warning I would be really grateful if u told me
     
  5. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    In the TMP Settings which are contained in "TextMesh Pro/Resources/..."

    upload_2021-5-11_17-13-54.png
     
    Last edited: May 12, 2021
  6. toyhunter

    toyhunter

    Joined:
    Mar 5, 2018
    Posts:
    76
    If you're using 2021 LTS:
    Project Setting > TextMesh Pro > Settings > Dynamic Font System Settings > Disable warnings