Search Issue Tracker

Fixed in Unity 2018.1

Votes

6

Found in

5.0.0b11

Issue ID

646064

Regression

No

[ShaderCompiler] There are no dependency tracking between shader and includes (cginc)

Shaders

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 0Severity not yet defined

To reproduce:
1. Open attached project
2. Open scene sample
3. Comment out USE_THE_COLOR define in Assets/Includes/includeme.cginc
4. Notice that sphere didn't change

Manual reimport works, but doesn't fit in some situations. Dunno if reimporting all shaders everytime include is changed is good though.

Also note that .cginc files aren't tracked as dependencies for package export.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.