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
- Decal Shader Graph - Custom vertex interpolators are always 0
- Error “NullReferenceException: Object reference not set to an instance of an object“ is present when the UI Toolkit Debugger window is docked and inactive on Editor launch
- RenderTexture pixels are gray when created without drawing on macOS
- Slider disappears when the Baked Lightmap Viewer window is at its minimum size
- Crash on 'TransformParticleMesh' when setting Particles in PlayMode
Resolution Note:
Won't fix as this is not a regression bug and minor/cosmetic.