Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

ANR on Android - Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010

Discussion in 'Editor & General Support' started by msureka83, Oct 16, 2018.

  1. msureka83

    msureka83

    Joined:
    Nov 28, 2014
    Posts:
    36
    Hello,

    Have been getting a lot of such ANRs in the latest build, across Android 8.1, 8.0, 7.0, 7.1 & others.
    Using Unity 2018.2.11f1, Unity Ads & Google Play Services Plugin.
    No other SDK installed.

    I think this is related to Unity Ads. Can somebody look into this?

    Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } (has extras) }


    "main" prio=5 tid=1 Native
    group="main" sCount=1 dsCount=0 obj=0x7620c280 self=0xe4e85400
    sysTid=20793 nice=-4 cgrp=bg_non_interactive sched=0/0 handle=0xe81a3534
    state=S schedstat=( 1068814781 325674453 2167 ) utm=60 stm=46 core=1 HZ=100
    stack=0xff599000-0xff59b000 stackSize=8MB
    held mutexes=

    #00 pc 0000000000049f2c /system/lib/libc.so (nanosleep+12)
    #01 pc 0000000000a752cc /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #02 pc 00000000004537dc /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #03 pc 0000000000128eec /data/app/com.company.gamename-2/lib/arm/libmono.so (???)
    #04 pc 0000000000022898 /data/app/com.company.gamename-2/lib/arm/libmono.so (???)
    #05 pc 00000000002c40e5 /data/app/com.company.gamename-2/lib/arm/libmono.so (???)
    #06 pc 0000000000008b21 /system/bin/app_process32 (InvokeUserSignalHandler+156)
    #07 pc 0000000000149c4b /system/lib/libart.so (_ZN3art12FaultManager11HandleFaultEiP7siginfoPv+222)
    #08 pc 00000000000171bc /system/lib/libc.so (???)
    #09 pc 0000000000866ef8 /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #10 pc 0000000000866f98 /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #11 pc 0000000000a05f7c /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #12 pc 00000000001ae4fc /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #13 pc 00000000001ae464 /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #14 pc 00000000001ae280 /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #15 pc 000000000011fe8c /data/app/com.company.gamename-2/lib/arm/libunity.so (???)
    #16 pc 0000000000040619 /data/app/com.company.gamename-2/oat/arm/base.odex (Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2+132)

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native method)
    at com.unity3d.player.ReflectionHelper.a (unavailable)
    at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
    at java.lang.reflect.Proxy.invoke (Proxy.java:813)
    at com.unity3d.ads.IUnityAdsListener.onUnityAdsReady (IUnityAdsListener.java)
    at com.unity3d.ads.api.Listener$1.run (Listener.java:17)
    at android.os.Handler.handleCallback (Handler.java:751)
    at android.os.Handler.dispatchMessage (Handler.java:95)
    at android.os.Looper.loop (Looper.java:154)
    at android.app.ActivityThread.main (ActivityThread.java:6776)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1520)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1410)
     
  2. Le-Tuan-Son

    Le-Tuan-Son

    Joined:
    Jan 13, 2016
    Posts:
    21
    I have the same issue. Do you have any heavy task in OnApplicationPause?
     
  3. msureka83

    msureka83

    Joined:
    Nov 28, 2014
    Posts:
    36
    No not really.