Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2020.2.0a14
2020.3
2021.1
2021.2
Issue ID
1335707
Regression
Yes
Shader is not updated when updating the .glslinc file when the Shader is GLSL
How to reproduce:
1. Open the attached "1335707_Repro" project with "-force-opengl" command
2. Open the Scene "SampleScene"
3. In the Project window open the "TestLibrary.glslinc"
4. In the third line of the script change the second parameter from 0 to 1 and save it
5. Open the Editor
Expected results: The Plane in the Scene turns yellow
Actual results: The Plane in the Scene stays the same color
Reproducible with: 2020.2.0a14, 2020.3.13f1, 2021.1.14f1, 2021.2.0b1
Not reproducible with: 2018.4.36f1, 2019.4.28f1, 2020.2.0a13
Notes:
- Force compiling the Shader will update changes made in the .glslinc file
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
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
- Crash on mono_object_handle_isinst_mbyref_raw when SerializedReference points to a struct implementing ISerializationCallbackReceiver whose first field is a UnityEngine.Object
- Default name of a "Category" in a VFX Graph is not capitalised
- [Android] TMP Input Field loses focus on click when using an external keyboard
- GameObject renders as a cube when changing Cast Shadows
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a4
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b8
Resolution Note (fix version 2021.1):
Fixed in 2021.1.18f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.17f1