I have a shader that is compiled at run time inside a plugin. On previous versions of Unity this was working fine but with the latest its failing. This is on Android. What could be the problem? This is the error I get:
OPENGL NATIVE PLUG-IN ERROR: GL_INVALID_ENUM: enum argument out of range
(Filename: ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp Line: 348)
E/SHADER: VERTEX COMPILE ERROR :
E/SHADER: VERTEX SOURCE : #version 300 es
in vec4 a_quadUV;
out vec2 v_UV;
void main() {
v_UV = a_quadUV.zw;
gl_Position = vec4( a_quadUV.xy, 0.0, 1.0 );
}