org.andengine.opengl.shader.exception.ShaderProgramCompileException: Reason: ERROR: 0:1: '' : Version number not supported by GL2 09-13 22:20:43.195: E/AndroidRuntime(1509): Source: 09-13 22:20:43.195: E/AndroidRuntime(1509): ########################## 09-13 22:20:43.195: E/AndroidRuntime(1509): uniform mat4 u_modelViewProjectionMatrix; 09-13 22:20:43.195: E/AndroidRuntime(1509): attribute vec4 a_position; 09-13 22:20:43.195: E/AndroidRuntime(1509): attribute vec2 a_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): varying vec2 v_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): void main() { 09-13 22:20:43.195: E/AndroidRuntime(1509): v_textureCoordinates = a_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): gl_Position = u_modelViewProjectionMatrix * a_position; 09-13 22:20:43.195: E/AndroidRuntime(1509): } 09-13 22:20:43.195: E/AndroidRuntime(1509): ##########################

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Game Development by user1638668
, 1 year ago
Reason: ERROR: 0:1: '' : Version number not supported by GL2 09-13 22:20:43.195: E/AndroidRuntime(1509): Source: 09-13 22:20:43.195: E/AndroidRuntime(1509): ########################## 09-13 22:20:43.195: E/AndroidRuntime(1509): uniform mat4
org.andengine.opengl.shader.exception.ShaderProgramCompileException: Reason: ERROR: 0:1: '' : Version number not supported by GL2 09-13 22:20:43.195: E/AndroidRuntime(1509): Source: 09-13 22:20:43.195: E/AndroidRuntime(1509): ########################## 09-13 22:20:43.195: E/AndroidRuntime(1509): uniform mat4 u_modelViewProjectionMatrix; 09-13 22:20:43.195: E/AndroidRuntime(1509): attribute vec4 a_position; 09-13 22:20:43.195: E/AndroidRuntime(1509): attribute vec2 a_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): varying vec2 v_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): void main() { 09-13 22:20:43.195: E/AndroidRuntime(1509): v_textureCoordinates = a_textureCoordinates; 09-13 22:20:43.195: E/AndroidRuntime(1509): gl_Position = u_modelViewProjectionMatrix * a_position; 09-13 22:20:43.195: E/AndroidRuntime(1509): } 09-13 22:20:43.195: E/AndroidRuntime(1509): ##########################
at org.andengine.opengl.shader.ShaderProgram.compileShader(ShaderProgram.java:187)
at org.andengine.opengl.shader.ShaderProgram.compile(ShaderProgram.java:143)
at org.andengine.opengl.shader.ShaderProgram.bind(ShaderProgram.java:122)
at org.andengine.opengl.shader.PositionTextureCoordinatesShaderProgram.bind(PositionTextureCoordinatesShaderProgram.java:86)
at org.andengine.opengl.vbo.VertexBufferObject.bind(VertexBufferObject.java:162)
at org.andengine.opengl.texture.TextureWarmUpVertexBufferObject.warmup(TextureWarmUpVertexBufferObject.java:97)
at org.andengine.opengl.texture.TextureManager.updateTextures(TextureManager.java:257)
at org.andengine.engine.Engine.onDrawFrame(Engine.java:613)
at org.andengine.opengl.view.EngineRenderer.onDrawFrame(EngineRenderer.java:105)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1462)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1216)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.