Code inspection: Unresolved Shader name
This inspection reports a shader name string that does not resolve to any ShaderLab shader.
It is typically shown for calls such as Shader.Find("Name") when no shader with that name exists in the project. This usually means the name is misspelled, outdated, or the shader asset is missing.
Example
using UnityEngine;
public class Example : MonoBehaviour
{
void Start()
{
var shader = Shader.Find("Custom/MissingShader");
}
}
using UnityEngine;
public class Example : MonoBehaviour
{
void Start()
{
var shader = Shader.Find("Custom/ExistingShader");
}
}
How to fix
There is no dedicated quick-fix. The fix is to use the exact name of an existing shader or add the missing shader asset.
14 April 2026