- Home /
GLSL: unsupported array parameter 'unity_LightPosition' (and 'unity_LightColor')
On our crash statistic page I see some GLSL errors coming in that I can not explain. They are
GLSL: unsupported array parameter 'unity_LightPosition'
and
GLSL: unsupported array parameter 'unity_LightColor'
I'm not using unity_LightPosition in any of my shaders, and I'm using unity_LightColor in one, but it seems to work fine. The users that report these issues are using fairly old android devices (e.g. samsung SM-T110, samsung SM-T2105, SM-G313HU, etc.).
Is this just Unity complaining about an unsuported GL feature, or is it something else going on?
Note: using Unity 5.6.3p4.
Answer by anileapen05 · Apr 10, 2019 at 08:02 AM
I changed my Graphics API for PC in Player Settings -> added OpenGL core and Unity editor does not display properly (All editor windows are white). Error message is "GLSL: unsupported array parameter 'unity_LightColor'"
This probably means hardware support problem.
Your answer
Follow this Question
Related Questions
CG shader is treated as GLSL and doesn't compile 0 Answers
I have error in Shader transparent/Refractive 1 Answer
Shader error: incorrect number of arguments to numeric-type constructor 2 Answers
shader_feature in "multiple shader program variants" doesn't work on Android 0 Answers
How to tint the specular map in Unity5 0 Answers