Search Issue Tracker
Fixed
Fixed in 2022.3.7f1, 2023.1.7f1, 2023.2.0a22
Votes
0
Found in
2022.3.1f1
2023.1.0b20
2023.2.0a19
Issue ID
UUM-37723
Regression
Yes
“Shader error in ‘Shader Graphs/Master’: Invalid conditional expression” is logged when a project is opened
Reproduction steps:
1. Open the attached “URPCustomLighting.zip“ project
2. Observe the Console
Expected result: No errors are thrown
Actual result: “Shader error in ‘Shader Graphs/Master’: Invalid conditional expression” error is thrown
Reproducible with: 14.0.7 (2022.3.0f1), 15.0.5 (2023.1.0b19), 16.0.2 (2023.2.0a18)
Could not test with: 12.1.12 (2021.3.26f1) (Downgrading stops reproduction)
Reproduced on: macOS Ventura 13.3.1 (Intel), Windows 11 (by the reporter)
Notes:
- Sometimes additional Shader errors are thrown
- Reproduces only if there are no changes to the project
- Downgrading stops reproduction, regression check is impossible
- Not reproducible in Player
- If reproduction doesn’t happen, unzip the project again
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Compute shader reads from the wrong compute buffer when entering the Play mode for the first time after a shader compilation
- Shadows of trees painted on the Terrain are incorrectly placed when the lighting is baked
- Screen API breaks when setting resolution below 1280x720 in an exclusive fullscreen Player on a specific monitor
- [VFXG] Not all instances are fully rendered of immortal strips when instancing is enabled
- Errors “NullReferenceException: Object reference not set to an instance of an object“ and “Cannot modify Overlay.displayed during event of type EventType.Layout“ shown when entering the Play Mode with Self-Collision and Inter-Collision window focused
Add comment