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.0a13
2021.1
2021.2
2021.2.0a20
2022.1
Issue ID
1342654
Regression
Yes
"Shader error in 'Wolf/Diffuse (Cutout)': Invalid conditional expression. at line 202" is thrown when reimporting the Shader
How to reproduce:
1. Open the user's attached "ShaderError.zip" project
2. Right-click on the "Diffuse_Cutout" Asset
3. Press the "Reimport" button
4. Observe the Console log
Expected result: No errors in the Console log
Actual result: "Shader error in 'Wolf/Diffuse (Cutout)': Invalid conditional expression. at line 202" error is thrown in the Console log
Reproducible with: 2020.2.0a13, 2020.3.12f1, 2021.1.12f1, 2021.2.0b1
Not reproducible: 2018.4.34f1, 2019.4.28f1, 2020.2.0a12
Note:
- Issue is not reproducible when Override preprocessor is set to "Force Platform Preprocessor"
Comments (1)
-
Peter77
Jul 20, 2021 17:09
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 2022.1):
Fixed in: 2022.1.0a3
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b5
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.17f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.16f1