Compute shader including another compute shader doesn't refresh

Hi.

I have two compute shaders. “PerlinChunk.compute” and “TPerlinNoise.compute”. TPerlinNoise includes PerlinChunk in order to use some of the operations defined there this way #include “Assets\Resources\PerlinChunk.compute”.

But no matter i try, i reach a point where Unity doesn’t update / refresh the i-can’t-figure-out-what-thing and the including shader (TPerlinNoise) doesn’t compile because the new changes made to PerlinChunk.compute doesn’t get to it.

For example, after editing PerlinChunk.compute, TPerlinNoise.compute doesn’t compile because:

That ‘biomeShiftNoise’ at line 320 no longer exists, I understand it taking a cached version of PerlinNoise.

The only solution to this is creating a new compute file and paste it the whole PerlinChunk.compute and modify the #include directive to load the new file.

Any idea how to get this working?

Thank you very much

This sounds like a dependency tracking bug to me. Could you please file a bug report?
Thanks!