On Google Nexus 5 (OpenGL ES 3.0):
GL_MAX_VERTEX_UNIFORM_COMPONENTS = 1024
GL_MAX_VERTEX_UNIFORM_VECTORS = 256
However, when I try to max out the use of uniforms in a vertex shader, I get this error on compilation:
--From Vertex ShaderError: uniform variables in vertex shader do not fit in 251 vectors.
Why is it suggesting 251 vectors in the error message but glGet(GL_MAX_VERTEX_UNIFORM_VECTORS) returns 256?
This is a known issue with the drivers as shipped on Nexus 5. This problem has been addressed in the monthly driver updates we post for developers here. Please give those drivers a try and see if they fix your issue.