Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2020.3
2021.1
2021.2.0a15
Issue ID
1333654
Regression
Yes
Included shader dependencies are not recompiled when performing hot reload and the include statement is excluded using keywords
How to reproduce:
1. Open the attached project named "RecompileCheck.zip"
2. Open the Test shader file
3. Observe the #if defined statements at line 24 and 26
4. Open the "foo" include file
5. Add random symbols to cause a compilation error and save the file
6. Select the NewMaterial 1 in the Project window
Expected results: An error is thrown indicating the faulty code fragment
Actual results: No compilation errors are thrown until the project Library is cleared or #if defined statement is removed
Reproducible with: 2021.2.0a15, 2021.2.0a17
Could not test with: 2018.4.35f1, 2019.4.26f1, 2020.3.8f1, 2021.1.7f1, 2021.2.0a14(Attached project is missing references)
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2021.2):
Fixed in - 2021.2.0b1
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.17f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.16f1