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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Resolution Note:
Won't fix as this is not a regression bug and minor/cosmetic.