Too many crash on SdkboxPlay sign in flow

Too many crash on SdkboxPlay sign in flow
0

#1

Hello, i recently upgraded to sdkboxplay latest version(2.4.2.2) and there are too many logs (nearly %15 percent of players)

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.google.android.gms.auth.api.signin.GoogleSignInResult.isSuccess()' on a null object reference
       at com.sdkbox.plugin.SdkboxGPGAuthentication.onActivityResult(SdkboxGPGAuthentication.java:372)
       at com.sdkbox.plugin.SDKBox.onActivityResult(SDKBox.java:166)
       at com.sdkbox.plugin.SDKBoxActivity.onActivityResult(SDKBoxActivity.java:17)
       at android.app.Activity.dispatchActivityResult(Activity.java:6321)
       at android.app.ActivityThread.deliverResults(ActivityThread.java:3845)
       at android.app.ActivityThread.handleSendResult(ActivityThread.java:3892)
       at android.app.ActivityThread.access$1300(ActivityThread.java:183)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1524)
       at android.os.Handler.dispatchMessage(Handler.java:111)
       at android.os.Looper.loop(Looper.java:194)
       at android.app.ActivityThread.main(ActivityThread.java:5651)
       at java.lang.reflect.Method.invoke(Method.java)
       at java.lang.reflect.Method.invoke(Method.java:372)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

and i also use save/load logic. There are crash logs:

Fatal Exception: com.google.android.gms.tasks.RuntimeExecutionException: com.google.android.gms.common.api.ApiException: 10: IllegalStateException: Must include Drive.SCOPE_APPFOLDER to use snapshots!
       at com.google.android.gms.tasks.zzu.getResult(Unknown Source:15)
       at com.sdkbox.plugin.SdkboxGPGSavedGames.processSnapshotsClientTask(SdkboxGPGSavedGames.java:294)
       at com.sdkbox.plugin.SdkboxGPGSavedGames.access$400(SdkboxGPGSavedGames.java:28)
       at com.sdkbox.plugin.SdkboxGPGSavedGames$8$1.onComplete(SdkboxGPGSavedGames.java:429)
       at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6938)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

cocos2d-x version 3.17.1
sdkboxPlay version 2.4.2.2


SDKBox 2.4.3.0 bugfix
#2

the latest version is v2.4.2.0. I’ll check the bug with this version.


#3

@faseral please try this

PluginSdkboxPlay.jar.zip (79.7 KB)


#4

thanks. I am trying now. I will let you know about the results.


#5

I wrote it wrong. Yes it is 2.4.2.0


#6

It looks like all the crashes disappeared with this version. Thank you very much. :+1:


#7

bump SDKBoxPlay to 2.4.2.1 version on staging server. plz wait 3 hours to get it if you want it.
Thanks,