Linear colour space bug w/ TextMesh Pro

Updated on September 17, 2017 in [A] GUI
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on September 16, 2017

Hello all,

I recently found myself following Brackey’s tutorial on getting good graphics in Unity. The first thing he said to do was to use linear color space as it produces better colors for scenes. So, I opened up my current project and did so.

Within my project, I also use the TextMesh Pro asset so I can get high quality text in my game. However, when I changed the color space to linear, some different errors came up which most had to do with the TextMesh Pro shaders. The text within my TextMesh Pro instances were all “corrupted” and instead of text, there were pink squares. The only ways to revert this problem is by changing the the text shader to bitmap/sprite or by changing the color space back to gamma. So I’m guessing the problem is from the shaders from themselves but I don’t know where to start to fix this.

Here’s a picture of the errors that came up:

View post on imgur.com

Did anyone encounter this weird problem before? If any more info is needed, kindly do ask.

  • Liked by
Reply
0 on September 17, 2017

Ok guys, no problem. Solved it myself.

Apparently, for some reason, the shaders for TextMesh Pro glitch out when changing color space to linear. To fix this problem, simply re-import the files that are indicated in the errors.

Hope this helps! 😀

  • Liked by
Reply
Cancel