Search Unity

TextMesh Pro TMP causing weird behavior in canvas settings

Discussion in 'UGUI & TextMesh Pro' started by ihgyug, Feb 24, 2019.

  1. ihgyug

    ihgyug

    Joined:
    Aug 5, 2017
    Posts:
    194
    Hi,

    I find myself unable to change Canvas Additional Shader Channels in the prefab, specifically I can't disable "Normal" and "Tangent" option. In the case I manage to do so, once I open the prefab, it resets and brings them back.

    So I keep getting the warning under the setting "Shader channels Normal and Tanget are often used with lightning, which an Overlay canvas does not support. Its likely these channels are not needed".

    Having the issue since I downloaded TMP package, so I thought it is probably a TMP behavior (I am using only "Raster" fonts by the way, so I don't need those unnecessary shader channels).

    Thanks in advance

    P.S : Using TMP 1.3.0.
     
    Last edited: Feb 24, 2019
    Eater_Games likes this.
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    The TMP Distance Field shaders do need those additional channels. The Bitmap shaders do not.

    As soon as I have time, I'll revise this to make sure only the required channels are set by TMP.
     
  3. jbaujb

    jbaujb

    Joined:
    Oct 17, 2019
    Posts:
    16
    I have this same problem. I am running TextMesh Pro 2.0.1
     
  4. DanBourque

    DanBourque

    Joined:
    Jul 13, 2013
    Posts:
    3
    It was still a problem with TextMesh Pro v3.0.1 Preview, but it seems to be fixed as of v3.0.1 Verified. Wohoo!
     
  5. viseztrance

    viseztrance

    Joined:
    Feb 7, 2019
    Posts:
    15
    No, this has not been fixed. Using v 3.0.4 Preview.
     
  6. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    This warning will eventually be deprecated as it is confusing and there is virtually no performance impact to having those additional channels.
     
  7. devagame

    devagame

    Joined:
    May 17, 2015
    Posts:
    2
    Hopefully the next release will address this issue!
     
  8. DanteMarshal

    DanteMarshal

    Joined:
    Aug 25, 2020
    Posts:
    10
    Is this next release available yet ? o_O
     
  9. melones

    melones

    Joined:
    Dec 19, 2021
    Posts:
    2
    still not fixed