Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

unable to get outline working on build ( chinese)

Discussion in 'UGUI & TextMesh Pro' started by Sylon87, Sep 28, 2020.

  1. Sylon87

    Sylon87

    Joined:
    Aug 20, 2018
    Posts:
    196
    hello!
    i have alray a variant font (Glyph) for each language, but on chinese one i can't get outline working ( text is all white without black outline) anyone can help me to figure it out? ( in editor is showing with outline but become all white on build)
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    Can you post a screenshot of what you are seeing?

    White blocks of text is usually related to incorrect SDF Scale being passed to the shaders via UV2 in the geometry of the text.

    For testing, please see if you get the same behavior using the SSD variant of the TMP Shaders. Those shaders are included in the latest release of the TMP package in the TMP Essential Resources. Those shaders have the suffix SSD in their name.
     
  3. Sylon87

    Sylon87

    Joined:
    Aug 20, 2018
    Posts:
    196
    Thank’s u for your help.

    actually as i know it should be fixed on the face settimgs of the font asset, but i don’t really know witch one (as i said no problem on other language ) it should be related to chinese, japanese etc..

    i’ll post a screenshot as soon as i can