Hello,
Recently I’ve had an issue where Unity will not automatically recompile a shader when I edit a .cginc file that is part of this shader.
Even if I manually reimport the shader file, and see the cyan color showing that the shader is recompiling, the shader does not track the changes I made to the .cginc file unless I also make some unrelated C# code change, at which point the changes do get recompiled into the shader … but only once.
Has anyone else experienced this and know of a fix? Thanks.
EDIT: Originally I had said “.cginclude” instead of “.cginc.” That was only a typo in the thread, not in the project! My mistake.