Search Issue Tracker
Fixed in 10.0.0
Votes
0
Found in [Package]
9.0.0 preview.33, 8.2.0, 8.1.0.
Issue ID
1264758
Regression
Yes
[OpenGLES3] [URP] GLSL link error: Fragment info errors are thrown after switching Graphics APIs to OpenGLES3
GLSL link error: Fragment info errors are thrown on restarting editor after switching Graphics APIs to OpenGLES3.
Steps to repro:
1. Create a new URP template project.
2. File > Build Settings > Player Settings > Other Settings.
3. Uncheck Auto Graphics API for Windows checkbox.
4. Add OpenGLES3 > Drag to the top of the list.
5. Restart the editor.
Actual Result:
GLSL link error: Fragment info errors in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a19, 2020.2.0a11 with Package Version: 9.0.0 preview.33, 8.2.0, 8.1.0.
Working Fine in:
2020.2.0a10, 2020.1.0f1 with Package Version: 9.0.0 preview.33, 8.2.0, 8.1.0.
Environment:
Occurring only on Windows.
Stacktrace:
-------- GLSL link error: Fragment info
-------------
(0) : error C6020: Constant register limit exceeded at _MainLightPosition; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _MainLightColor; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _AdditionalLightsCount; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _TimeParameters; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at unity_FogColor; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _CascadeShadowSplitSpheres0; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _CascadeShadowSplitSpheres1; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _CascadeShadowSplitSpheres2; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _CascadeShadowSplitSpheres3; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _CascadeShadowSplitSphereRadii; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _MainLightShadowParams; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _MainLightShadowmapSize; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _AdditionalShadowmapSize; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at unity_SpecCube0; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at hlslcc_zcmp_MainLightShadowmapTexture; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at hlslcc_zcmp_AdditionalLightsShadowmapTexture; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at Texture2D_C69EB180; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _SampleTexture2D_C873BFA4_Texture_1; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _SampleTexture2D_CDBC38BA_Texture_1; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _SampleTexture2D_D6BD25ED_Texture_1; more than 1024 registers needed to compile program
(0) : error C6020: Constant register limit exceeded at _SampleTexture2D_72715EE4_Texture_1; more than 1024 registers needed to compile prog
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
- [WebGL]"TypeError: Cannot read properties of undefined (reading 'length')" error is thrown when starting the Player when config.autoSyncPersistentDataPath is set to true
- [UaaL] Freeze on "GetLightingSettingsOrDefaultsFallback()" when rotating device screen after unloading Unity framework
- A white vertical artifact is present when any Material from HDRI is used for a panoramic skybox
- Editor freezes when handling Havok collision interactions between a thin collider and the player controller
- No blue outline is shown on a folder in the Project tab when an external file is being dragged over the folder
Resolution Note (fix version 10.0.0):
Fixed in Package version: 10.0.0-preview.27