I have added support for multiple lights to my shader (via arrays). This works fine using OpenGL on PC. However, when I try running it on Android (Pixel C with OpenGL ES 3.2), I get the following error:
Unhandled Exception:
System.InvalidOperationException: Shader Compilation Failed
Any ideas as to why that might not be working on Android? Removing the arrays gets everything working just fine.
Thanks.