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

Game try to log in but crash #1

Open
marcosjmm85 opened this issue Jul 9, 2018 · 2 comments
Open

Game try to log in but crash #1

marcosjmm85 opened this issue Jul 9, 2018 · 2 comments

Comments

@marcosjmm85
Copy link

marcosjmm85 commented Jul 9, 2018

Hi, I am trying to use the module, but when I install the apk it run fine, but crash after try to log on google play.

@palia5
Copy link

palia5 commented Oct 11, 2018

Hi, I have the same issue (I think): works fine when installed directly from godot, but crashes when installed through google play. The crash report on our google play console has the following stacktrace:

java.lang.RuntimeException:
at android.app.ActivityThread.deliverResults (ActivityThread.java:4438)
at android.app.ActivityThread.handleSendResult (ActivityThread.java:4481)
at android.app.ActivityThread.-wrap20 (Unknown Source)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1690)
at android.os.Handler.dispatchMessage (Handler.java:105)
at android.os.Looper.loop (Looper.java:164)
at android.app.ActivityThread.main (ActivityThread.java:6673)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:769)
Caused by: java.lang.NullPointerException:
at org.godotengine.godot.gpgs.Client.onMainActivityResult (Client.java:144)
at org.godotengine.godot.GodotPlayGameServices.onMainActivityResult (GodotPlayGameServices.java:142)
at org.godotengine.godot.Godot.onActivityResult (Godot.java:250)
at android.app.Activity.dispatchActivityResult (Activity.java:7250)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4434)

It crashes almost immediately when trying to sign in (both silently and interactively) but only when installed from google play. Any ideas?

@palia5
Copy link

palia5 commented Oct 12, 2018

It looks like kristijandraca's pull request solves this.

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

2 participants