0
Planned

Some names for colors or textures cause issues

DSebJ 10 years ago updated by Freya Holmér (Developer) 10 years ago 1
Image 108

Using the name SpecColor causes the error "Material doesn't have a color property '_SpecColor' - however if its renamed to SColor; it works.

If there is a list of reserved names that shouldn't be used it would be good to show that error in the editor?
I should make a script that goes through Unity's built-in includes and extract all reserved names!
This is an issue, and it's particularly annoying with SpecColor! (I've run into it a lot as well)