Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug 3.2.0-pre.6: undeclared identifier `UIGammaToLinear`

Discussion in 'UGUI & TextMesh Pro' started by bigbrainz, Oct 12, 2023.

  1. bigbrainz

    bigbrainz

    Joined:
    Jul 21, 2015
    Posts:
    177
    Howdy. Just updated to pr.6 and I get this error in this shader when I "Import TMP Essential Resources"

    Anyone else finding this or a solution?

    upload_2023-10-12_11-51-57.png
     
    nice2000, yty, MarvinE and 6 others like this.
  2. jennifer_unity277

    jennifer_unity277

    Joined:
    Jan 18, 2022
    Posts:
    6
    I'm also having this issue :/
     
  3. bigbrainz

    bigbrainz

    Joined:
    Jul 21, 2015
    Posts:
    177
    I had to revert back.
     
  4. won-gyu

    won-gyu

    Joined:
    Mar 23, 2018
    Posts:
    32
    I have the same issue...
     
    bigbrainz likes this.
  5. Klug76

    Klug76

    Joined:
    May 28, 2014
    Posts:
    3
    I have the same issue.
     
  6. Jade2307

    Jade2307

    Joined:
    Jan 20, 2020
    Posts:
    1
    So no update? I guess I'll revert back then
     
  7. Kingblade

    Kingblade

    Joined:
    Jan 15, 2014
    Posts:
    16
    Managed to find my way here too, but reading the comments makes me feel like nobody in unity is reading this.
     
  8. bigbrainz

    bigbrainz

    Joined:
    Jul 21, 2015
    Posts:
    177
    Argh. I was hoping they'd get to it by now.
     
  9. TG-jkhoo

    TG-jkhoo

    Joined:
    May 10, 2021
    Posts:
    6
  10. TG-jkhoo

    TG-jkhoo

    Joined:
    May 10, 2021
    Posts:
    6
    From the issue tracker links I posted, Unity says you should upgrade to 2021.3.34f1 or later.
     
  11. bigbrainz

    bigbrainz

    Joined:
    Jul 21, 2015
    Posts:
    177
    OK, so once I updated to 2021.3.34f1 it did fix that error. But it still left a new one with 4 of the shaders. The error now is

    Code (CSharp):
    1. Shader error in 'TextMeshPro/Mobile/Distance Field - 2 Pass': Couldn't open include file 'TMPro_Properties.cginc'. at line 281
    upload_2024-2-8_12-8-10.png