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

[Bug]: Huge numbers of ANR SubscriptionManager$onModelUpdated #648

Open
1 task done
rassldev opened this issue Oct 4, 2023 · 0 comments
Open
1 task done

[Bug]: Huge numbers of ANR SubscriptionManager$onModelUpdated #648

rassldev opened this issue Oct 4, 2023 · 0 comments

Comments

@rassldev
Copy link

rassldev commented Oct 4, 2023

What happened?

Stack Trace of ANR from the Google Play console. ANRs happen on different devices randomly

ANR:  Input dispatching timed out (2baa73d com.crispapp.seekandfindgames.hiddenhotel/com.unity3d.player.UnityPlayerActivity (server) is not responding. Waited 5000ms for MotionEvent(action=DOWN))
libc.so +0xe1358        nanosleep
libil2cpp.so +0x1111d34 <unknown>
libil2cpp.so +0x111e6c8 <unknown>
libil2cpp.so +0x10b6ac0 <unknown>
libil2cpp.so +0x109349c <unknown>
libunity.so +0x52cd24   <unknown>
libunity.so +0x35593c   <unknown>
libunity.so +0x355858   <unknown>
base.odex +0x8479c      art_jni_trampoline
                        com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Unknown:-2)
                        com.unity3d.player.ReflectionHelper.-$$Nest$smnativeProxyInvoke (Unknown)
                        com.unity3d.player.ReflectionHelper$a.invoke (Unknown:29)
                        java.lang.reflect.Proxy.invoke (Proxy.java:1006)
                        $Proxy16.onPushSubscriptionChange (Unknown:-1)
                        com.onesignal.user.internal.subscriptions.impl.SubscriptionManager$onModelUpdated$1.invoke (SubscriptionManager.kt:137)
                        com.onesignal.user.internal.subscriptions.impl.SubscriptionManager$onModelUpdated$1.invoke (SubscriptionManager.kt:136)
                        com.onesignal.common.events.EventProducer$fireOnMain$1.invokeSuspend (EventProducer.kt:58)
                        com.onesignal.common.events.EventProducer$fireOnMain$1.invoke (Unknown:8)
                        com.onesignal.common.events.EventProducer$fireOnMain$1.invoke (Unknown:2)
                        com.onesignal.common.threading.ThreadUtilsKt$suspendifyOnMain$1$1$1.invokeSuspend (ThreadUtils.kt:46)
                        kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
                        kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:106)
                        android.os.Handler.handleCallback (Handler.java:942)
                        android.os.Handler.dispatchMessage (Handler.java:99)
                        android.os.Looper.loopOnce (Looper.java:210)
                        android.os.Looper.loop (Looper.java:299)
                        android.app.ActivityThread.main (ActivityThread.java:8261)
                        java.lang.reflect.Method.invoke (Method.java:-2)
                        com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:559)
                        com.android.internal.os.ZygoteInit.main (ZygoteInit.java:954)

Steps to reproduce?

Initialize OneSignal in Start() when game start.

What did you expect to happen?

I expected not to see the ANRs.

Unity version

2022.3.10f1 (latest)
Android Minimum API Level - 22
Target API level - 33

OneSignal Unity SDK version

OneSignal-v5.0.2

Platform

Android

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

1 participant