is there a way to "force" shaders to update when CGINC files are updated?

hello,
i think lots of people had this problem.
when you make changes to a cginc file the shaders are not updated unless you make a change to it.
that is veru annoying when you have tens of shaders to update.

did someone find a workaround for this?
thanks

Anytime I update a cginc file, it automatically recompiles every shader in the folder. That’s actually somewhat annoying, too, but probably better. Are they using CGINC’s in the same folder?

If they are, I’m not sure, I have not set anything in particular. It’s Unity 5.1.

yep ech time i change cginc it “recompiles” or checks every shader but it doesn’t updatethem unless i change a bit in them

I normally have anything that relies on an include separated in a folder that I can right click and reimport them all for convenience.

1 Like

thanks @spraycanmansam_1

5.5.0f3 is still doing this

2020.3.18f1 is still doing this -_-
In my case with Compute shaders

@DanteMarshal please report a bug - this is not something we’ve seen in a long while.