Hi All,
We found there are having high ANR and one of them is this one.
I have no idea how to replicate it as it just keeps reporting from Google Play Console and damaging our metrics… Please help to advise how to start to fix this issue. Thank you very much
We use Unity version 2020.3.33
unavailable - com.unity3d.player.h$a.a
Broadcast of Intent { act=android.intent.action.SCREEN_OFF }
Main Thread
#00 pc 0x0000000000019eec /system/lib/libc.so (syscall)
#00 pc 0x000000000001d23b /system/lib/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*))
#00 pc 0x000000000007221f /system/lib/libc.so (pthread_cond_wait)
#00 pc 0x000000000004b0c5 /system/lib/libc++.so (std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&))
#00 pc 0x000000000004d02b /system/lib/libc++.so (std::__1::__assoc_sub_state::__sub_wait(std::__1::unique_lockstd::__1::mutex&))
#00 pc 0x0000000000235223 /system/lib/libhwui.so (android::uirenderer::renderthread::RenderProxy::copySurfaceInto(android::spandroid::Surface&, int, int, int, int, SkBitmap*))
#00 pc 0x00000000000aeff7 /system/lib/libandroid_runtime.so (android::android_view_ThreadedRenderer_copySurfaceInto(_JNIEnv*, _jobject*, _jobject*, int, int, int, int, _jobject*))
at android.view.ThreadedRenderer.nCopySurfaceInto (Native method)
at android.view.ThreadedRenderer.copySurfaceInto (ThreadedRenderer.java:926)
at android.view.PixelCopy.request (PixelCopy.java:187)
at android.view.PixelCopy.request (PixelCopy.java:154)
at android.view.PixelCopy.request (PixelCopy.java:107)
at com.unity3d.player.h$a.a (unavailable)
at com.unity3d.player.h.a (unavailable)
at com.unity3d.player.UnityPlayer$19.surfaceDestroyed (unavailable)
at android.view.SurfaceView.updateSurface (SurfaceView.java:678)
at android.view.SurfaceView.windowStopped (SurfaceView.java:231)
at android.view.ViewRootImpl.setWindowStopped (ViewRootImpl.java:1462)
at android.view.WindowManagerGlobal.setStoppedState (WindowManagerGlobal.java:680)
at android.app.Activity.performStop (Activity.java:7394)
at android.app.ActivityThread.callActivityOnStop (ActivityThread.java:4308)
at android.app.ActivityThread.performStopActivityInner (ActivityThread.java:4286)
at android.app.ActivityThread.handleStopActivity (ActivityThread.java:4361)
at android.app.servertransaction.StopActivityItem.execute (StopActivityItem.java:41)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:145)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:70)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1864)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:205)
at android.app.ActivityThread.main (ActivityThread.java:6993)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:884)
Signal Catcher Thread:
#00 pc 0x00000000002da483 /system/lib/libart.so (art:umpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool))
#00 pc 0x000000000036f793 /system/lib/libart.so (art:umpStack(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const)
#00 pc 0x000000000036bf4b /system/lib/libart.so (art:ump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool, BacktraceMap*, bool) const)
#00 pc 0x0000000000384c05 /system/lib/libart.so (art:umpCheckpoint::Run(art::Thread*))
#00 pc 0x000000000037eee7 /system/lib/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*))
#00 pc 0x000000000037e5df /system/lib/libart.so (art::ThreadList:ump(std::__1::basic_ostream<char, std::__1::char_traits>&, bool))
#00 pc 0x000000000037e217 /system/lib/libart.so (art::ThreadList:umpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits>&))
#00 pc 0x00000000003584c9 /system/lib/libart.so (art::Runtime:umpForSigQuit(std::__1::basic_ostream<char, std::__1::char_traits>&))
#00 pc 0x00000000003614e9 /system/lib/libart.so (art::SignalCatcher::HandleSigQuit())
#00 pc 0x000000000036067b /system/lib/libart.so (art::SignalCatcher::Run(void*))
#00 pc 0x0000000000072a35 /system/lib/libc.so (__pthread_start(void*))
#00 pc 0x000000000001dec5 /system/lib/libc.so (__start_thread)