Search Issue Tracker
Duplicate
Votes
0
Found in
5.5.0f3
Issue ID
874707
Regression
No
Values changed in cginc file are not detected in shaders
To reproduce:
1. Open attached project;
2. In the project tab, select shaders/Material1 so that it appears in the Inspector on the right. You should see a red sphere in the preview.
3. Open the file Assets\shaders\subdir\blah.cginc
4. Change the green value so that it reads "half GreenValue() { return 1; }"
5. Check the Sphere.
Expected result: The shader immediately updates with the new color.
Actual result: The Sphere stays with the same color.
Reproduced in: 5.4.4p4; 5.5.0f3; 5.5.2p1; 5.6.0b10; 2017.1.0a2
Note: If you change values in Test1.shader , sphere color changes immediately.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
This is a duplicate of issue #646064