Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.0a1
2019.3.0a9
Issue ID
1168620
Regression
No
[LWRP] "GLSL compilation failed" exception is thrown on switching Graphics APIs to OpenGLES2
"GLSL compilation failed" exceptions are thrown after restarting the editor on changing Graphics APIs to OpenGLES2 in LWRP project.
Steps to repro:
1. Create a new LWRP Project.
2. File > Build Settings > Player Settings.
3. Other Settings > Uncheck "Auto-Graphics API for Window" checkbox.
4. Add OpenGLES2 > move to the top of the list > Restart the editor.
Actual Result:
GLSL compilation failed exception is thrown in the console.
Expected Result:
No error is thrown in the console.
Reproducible in: 2019.3.0a9, 2019.2.0b9, 2019.1.8f1
LWRP 6.9.0, 6.7.1, 6.5.2, 5.7.2
Post-processing 2.1.7, 2.1.6, 2.1.4, 2.1.3
Environment:
Windows.
Stack trace:
GLSL compilation failed:
0(199) : error C1008: undefined variable "inf"
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note:
Won't fix as this is not a regression bug and minor/cosmetic.