Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequent crashes on Android 12 #12

Open
damnedpie opened this issue Apr 16, 2022 · 0 comments
Open

Frequent crashes on Android 12 #12

damnedpie opened this issue Apr 16, 2022 · 0 comments

Comments

@damnedpie
Copy link

Hi! Been receiving a lot of crash reports on Google Play Console, 90% of those crashes occur on Android 12 (SDK 31-32). Got over 100 stack traces, all of them look like this:

java.lang.RuntimeException: at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4891) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:4928) at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:52) at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2309) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:246) at android.app.ActivityThread.main (ActivityThread.java:8587) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130) Caused by: java.lang.RuntimeException: at android.app.ActivityThread.deliverResults (ActivityThread.java:5533) at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4878) Caused by: kotlin.UninitializedPropertyAccessException: at io.cgisca.godot.gpgs.PlayGameServicesGodot.onMainActivityResult (PlayGameServicesGodot.kt:158) at org.godotengine.godot.Godot.onActivityResult (Godot.java:295) at org.godotengine.godot.FullScreenGodotApp.onActivityResult (FullScreenGodotApp.java:122) at android.app.Activity.dispatchActivityResult (Activity.java:8550) at android.app.ActivityThread.deliverResults (ActivityThread.java:5526)

And it is always the io.cgisca.godot.gpgs.PlayGameServicesGodot.onMainActivityResult (PlayGameServicesGodot.kt:158)

I use Saved Games and logging in, nothing else. Recently I have added Achievements to my game, but it had no further impact on crash rate. Android 11 and below work pretty stable, but Android 12 is misbehaving for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant