• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android In new GMS2 version game crashes on Android lower than 9.0.0!!!

Tornado

Member
It seems that something is broken for Android in new version(s) of GMS2.
The game crashes in Android VM and Android yyc apk on devices which run Android versions lower than 9.0.0!!!
People can you confirm this?
This is a serious issue!!!
Couple days ago with older GMS2 I could run my game without problems.
 

Tornado

Member
Forgot to say:

I'm using the latest version IDE v2.2.4.464 Runtime v2.2.4.372

This is the error I get in the console when I run it via Android WM:
Code:
C:\AndroidSDK\platform-tools\adb DONE (0)
C:\AndroidSDK\platform-tools\adb -s "PAG4C17526000821" logcat yoyo:V MoPub:V DEBUG:V Ads:V MillennialMediaSDK:V AndroidRuntime:V GAV4:V *:S
--------- beginning of system
--------- beginning of crash
10-23 00:10:11.485  6663  6730 E AndroidRuntime: FATAL EXCEPTION: GLThread 431
10-23 00:10:11.485  6663  6730 E AndroidRuntime: Process: com.aaa.bbb, PID: 6663
10-23 00:10:11.485  6663  6730 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at android.opengl.GLUtils.getType(GLUtils.java:71)
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at com.aaa.bbb.DemoRenderer.onSurfaceCreated(DemoRenderer.java:325)
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at com.aaa.bbb.DemoRendererGL2.onSurfaceCreated(DemoRendererGL2.java:83)
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)
10-23 00:10:11.485  6663  6730 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1293)
10-23 00:12:59.626  9134  9172 E AndroidRuntime: FATAL EXCEPTION: GLThread 599
10-23 00:12:59.626  9134  9172 E AndroidRuntime: Process: com.aaa.bbb, PID: 9134
10-23 00:12:59.626  9134  9172 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at android.opengl.GLUtils.getType(GLUtils.java:71)
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at com.aaa.bbb.DemoRenderer.onSurfaceCreated(DemoRenderer.java:325)
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at com.aaa.bbb.DemoRendererGL2.onSurfaceCreated(DemoRendererGL2.java:83)
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)
10-23 00:12:59.626  9134  9172 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1293)
10-23 00:14:55.015 10045 10087 E AndroidRuntime: FATAL EXCEPTION: GLThread 647
10-23 00:14:55.015 10045 10087 E AndroidRuntime: Process: com.aaa.bbb, PID: 10045
10-23 00:14:55.015 10045 10087 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at android.opengl.GLUtils.getType(GLUtils.java:71)
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at com.aaa.bbb.DemoRenderer.onSurfaceCreated(DemoRenderer.java:325)
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at com.aaa.bbb.DemoRendererGL2.onSurfaceCreated(DemoRendererGL2.java:83)
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)
10-23 00:14:55.015 10045 10087 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1293)
10-23 00:17:02.927 10360 10398 E AndroidRuntime: FATAL EXCEPTION: GLThread 659
10-23 00:17:02.927 10360 10398 E AndroidRuntime: Process: com.aaa.bbb, PID: 10360
10-23 00:17:02.927 10360 10398 E AndroidRuntime: java.lang.IllegalArgumentException: Unknown type
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at android.opengl.GLUtils.getType(GLUtils.java:71)
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at android.opengl.GLUtils.texSubImage2D(GLUtils.java:189)
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at com.aaa.bbb.DemoRenderer.onSurfaceCreated(DemoRenderer.java:325)
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at com.aaa.bbb.DemoRendererGL2.onSurfaceCreated(DemoRendererGL2.java:83)
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1575)
10-23 00:17:02.927 10360 10398 E AndroidRuntime:    at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1293)
 
Last edited:

Tornado

Member
After some hours, we found the problem!
We had a change in android options for splash screen.
I don't know yet exactly what happend, but somehow splash screen image wasn't found and therefore crash on devices lower than Android 9.0.0.
We made first test on Android >= 9.0.0. therefore we weren't aware of the problem.
Strange that this is handled differently.
 
Top