playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.43k stars 953 forks source link

Exception java.lang.NullPointerException: null reference at com.google.android.gms.games.ui.signinflow.SignInChimeraActivity.F #3306

Closed tomurtogu closed 3 days ago

tomurtogu commented 5 days ago

I see in the Google pre launch report that the crash occurs on Google Pixel 5, Motorola G20, and Google Pixel 5 64 bit only devices. I have tried with all Unity LTS versions, with both API 33 and API 34 as target SDK. I have uploaded about 15 builds, the error does not go away. I also added the proguard file as instructed.

Versions

Exception java.lang.NullPointerException: null reference at m.dlv.o (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):8) at com.google.android.gms.games.ui.signinflow.SignInChimeraActivity.F (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):14) at m.jer.az (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):5) at m.jch.f (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):42) at m.jch.b (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):3) at m.jer.aS (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):8) at m.jer.l (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):28) at m.dg.e (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):481) at m.cv.at (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):1144) at m.cv.av (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):83) at m.cv.am (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):71) at m.cg.run (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):4) at android.os.Handler.handleCallback (Handler.java:942) at android.os.Handler.dispatchMessage (Handler.java:99) at m.nhj.dispatchMessage (:com.google.android.gms.optional_games@242013034@24.20.13 (100000-0):138) at android.os.Looper.loopOnce (Looper.java:201) at android.os.Looper.loop (Looper.java:288) at android.app.ActivityThread.main (ActivityThread.java:7898) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)

tomurtogu commented 3 days ago

no one?

smile616 commented 3 days ago

The issue has been fixed in Google Mobile Services v24.22.

Based on the stack trace you have Google Mobile Services v24.20.13 on the device. Visit https://play.google.com/store/apps/details?id=com.google.android.gms on the device to install an update.

Please reopen if you can reproduce the issue with Google Mobile Services v24.22+.

tomurtogu commented 3 days ago

Thank you for your reply. I don't actually see this issue on my own devices, but it shows up in the Google Play Console pre-launch reports, so I can't release any updates. Do you have any idea how I can pass the tests?

smile616 commented 3 days ago

Ah, I see. Missed that it was about pre-launch reports.

Unfortunately I don't know any easy ways. My best bet would be to wait until the pre-launch would contains mostly v24.22+ devices. So try every other day?

But google, maybe there is something else?

tomurtogu commented 23 hours ago

I'm seeing this error on specific devices: Google Pixel 5 and Motorola G20. It's probably related to the test devices because I even tested a blank project with only AdMob and Game services and I still see this error. Thank you.

smile616 commented 22 hours ago

does it still have "24.20.13" in the stack trace?

tomurtogu commented 22 hours ago

Yes, same stack trace.

smile616 commented 22 hours ago

I see