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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Won't fix as this is not a regression bug and minor/cosmetic.