Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Android crash from onDrawFrame — Gideros Forum

Android crash from onDrawFrame

The Google Play console is showing a number of crashes in the nativeDrawFrame function in my new game. I've eliminated all crashes I've seen within the lua itself, but I'm at a loss about solving this one. It's happening to a small percentage of users, but enough to get the game flagged for "bad behavior" in the store. The app is build with Gideros 2025.10. Any ideas where to start? Here's the stack that GP shows:

Exception com.giderosmobile.android.player.LuaException:
at com.giderosmobile.android.player.GiderosApplication.throwLuaException (GiderosApplication.java:1702)
at com.giderosmobile.android.player.GiderosApplication.nativeDrawFrame
at com.giderosmobile.android.player.GiderosApplication.onDrawFrame (GiderosApplication.java:832)
at com.giderosmobile.android.GiderosRenderer.onDrawFrame (ifd2Activity.java:518)
at android.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1589)
at android.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1288)

Comments

  • hgy29hgy29 Maintainer
    This is actually a lua exception which turned into a java exception by Gideros since the app isn’t a player. If we had the associated logcat log, we could have seen the usual lua stack trace.

    Likes: MoKaLux

    +1 -1 (+1 / -0 )Share on Facebook
Sign In or Register to comment.