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 Android #78

Open
limanskygames opened this issue Dec 13, 2024 · 7 comments
Open

Crash on Android #78

limanskygames opened this issue Dec 13, 2024 · 7 comments

Comments

@limanskygames
Copy link

Fatal Exception: java.lang.NullPointerException: null cannot be cast to non-null type android.view.ViewGroup
       at com.xsolla.android.payments.caching.PayStationCache$setBrowserClients$2.onRenderProcessGone(PayStationCache.kt:106)
       at org.chromium.android_webview.AwContents.onRenderProcessGone(chromium-TrichromeWebViewGoogle.aab-stable-677810430:49)
       at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
       at android.os.MessageQueue.next(MessageQueue.java:335)
       at android.os.Looper.loopOnce(Looper.java:161)
       at android.os.Looper.loop(Looper.java:288)
       at android.app.ActivityThread.main(ActivityThread.java:7941)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:569)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)
   Xsolla 2.5.0
   Unity 2022.3.53f1
@AntonPetrov83
Copy link

We are facing a lot of these crashes too! Any estimates on a fix?

@olga-salina
Copy link
Contributor

olga-salina commented Dec 23, 2024

You have to update android payments library to 1.4.4 version to get rid of this crash

@AlexSergPosp
Copy link

We have a lot of these crashes too.

@olga-salina
Copy link
Contributor

@AlexSergPosp The same solution. Only update to the 1.4.4 version will help

@AntonPetrov83
Copy link

@olga-salina What is "android payments library 1.4.4" ?

Unity IAP library is 4.12
GooglePlay Billing Library is 6.2.1

I mean I do not know what library you are referring to with the version 1.4.4

@olga-salina
Copy link
Contributor

@AntonPetrov83
If you are using Xsolla Unity SDK you can just update it to 2.5.1 version

@AntonPetrov83
Copy link

I can confirm it's fixed in 2.5.1

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

4 participants