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

Crash on first start after deleting data #51

Open
SakiiCode opened this issue Oct 16, 2022 · 1 comment
Open

Crash on first start after deleting data #51

SakiiCode opened this issue Oct 16, 2022 · 1 comment

Comments

@SakiiCode
Copy link

10-16 20:52:17.750 19029 19053 E Volley  : [5773] bmi.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/applications/************?language=hu-HU&platformType=ANDROID
10-16 20:52:18.491 19029 19500 E SignInPerformer-6: Failed to load game for package [****************] [CONTEXT service_id=1 ]
10-16 20:52:18.507 18146 18146 E AndroidRuntime: FATAL EXCEPTION: main
10-16 20:52:18.507 18146 18146 E AndroidRuntime: Process: ******, PID: 18146
10-16 20:52:18.507 18146 18146 E AndroidRuntime: java.lang.IllegalStateException: A fatal developer error has occurred. Class name: zzf. Start service action: com.google.android.gms.games.service.START. Service Descriptor: com.google.android.gms.games.internal.IGamesService. 
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at com.google.android.gms.common.internal.BaseGmsClient$zza.zza(Unknown Source)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at com.google.android.gms.common.internal.BaseGmsClient$zzc.zzo(Unknown Source)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at com.google.android.gms.common.internal.BaseGmsClient$zzb.handleMessage(Unknown Source)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:102)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:154)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6682)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
10-16 20:52:18.507 18146 18146 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)

Steps to reproduce:

  1. Connect the app to Play Games
  2. Save data to the cloud
  3. Open Play Games and delete app data there
  4. Open the game
  5. Crash

Not really a big deal though because everything works after restarting the game, just an edge case.
I don't know if even fixable

@MrStahlfelge
Copy link
Owner

My guess is your game does not check login state before accessing the save game data.

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