Why shader name in inspector not the same name as a file?

A shader file includes the name of the shader it represents. You find it in the first line and it looks like this:

Shader "Folder/ShaderName" {

Unity lists the shaders according to this name, not according to their filenames. If you have multiple shaders with the same full qualifying name you (and Unity) cannot distinguish those.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top