Search Unity

Many falls after switching to Advertisement 3.3.1

Discussion in 'Unity Ads & User Acquisition' started by Unknown_Oleg, Nov 13, 2019.

  1. Unknown_Oleg

    Unknown_Oleg

    Joined:
    Oct 19, 2019
    Posts:
    7
    Hi! I switched to the latest version of the advertising and after that I got a LOT of new crashes on all versions of android in the google conslole .. like

    at $Proxy11.hashCode (Unknown Source)
    at java.util.HashMap.hash (HashMap.java:338)
    at java.util.HashMap.put (HashMap.java:611)
    at java.util.HashSet.add (HashSet.java:219)
    at java.util.AbstractCollection.addAll (AbstractCollection.java:344)
    at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:30)
    at com.unity3d.services.ads.configuration.AdsModuleConfiguration$3.run (AdsModuleConfiguration.java:91)
    at android.os.Handler.handleCallback (Handler.java:873)
    at android.os.Handler.dispatchMessage (Handler.java:99)
    at android.os.Looper.loop (Looper.java:201)
    at android.app.ActivityThread.main (ActivityThread.java:6810)

    The first time I see this, I can’t understand what’s the matter. Looking for help)

    Unity 2019.1.12f1 , Advertisement package 3.3.1
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @Unknown_Oleg

    Thanks for reporting this issue. Just want to confirm a few things:

    Do you see any error messages in Unity itself, either during development or at build time? Or are these crash reports coming from the Google Play dashboard?

    Is that the only error message / crash report you're getting or are there others?

    Just want to confirm that you are using 2019.1 and not 2019.2.12 (the version released this week).

    Are you installing the Ads SDK via the Package Manager?
     
  3. Unknown_Oleg

    Unknown_Oleg

    Joined:
    Oct 19, 2019
    Posts:
    7
    Thanks for the quick response!
    About Details:

    Only from the Google Play dashboard. On my test device and in the editor everything is clean.

    There are other eternal problems like - at com.unity3d.player.UnityPlayer.nativeMuteMasterAudio ,but in general, this error leads , it is about 85% of all crashes . I do not see others related

    just one more variation:

    at $Proxy10.hashCode (Unknown Source)
    at java.util.HashMap.hash (HashMap.java:338)
    at java.util.HashMap.put (HashMap.java:611)
    at java.util.HashSet.add (HashSet.java:219)
    at java.util.AbstractCollection.addAll (AbstractCollection.java:344)
    at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:30)
    at com.unity3d.services.ads.api.Listener$5.run (Listener.java:76)
    at android.os.Handler.handleCallback (Handler.java:789)
    at android.os.Handler.dispatchMessage (Handler.java:98)
    at android.os.Looper.loop (Looper.java:166)
    at android.app.ActivityThread.main (ActivityThread.java:6565)
    at java.lang.reflect.Method.invoke (Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:767)

    Yes, i'm using Unity 2019.1.12f1.

    Yes, via the Package Manager
     
  4. Unknown_Oleg

    Unknown_Oleg

    Joined:
    Oct 19, 2019
    Posts:
    7
    Could I get this error due to any incorrect project settings?
    Or maybe when updating the application for users with previous package versions ?
     
  5. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    Do you see a breakdown by OS version and device? Can you share that a screenshot of that (via a private message if you'd prefer)?

    Also, would you be able to quantify the scale of the issue. How many users do you have on a given day vs how many crash reports are you getting per day? (Again, this information can be shared in a private message.)

    We're working to reproduce this issue, so any details you provide will be helpful.
     
  6. Unknown_Oleg

    Unknown_Oleg

    Joined:
    Oct 19, 2019
    Posts:
    7
    it’s hard for me to give complete statistics, all errors differ in small details and are not grouped.
    I will try to send statistics in private messages.
     
  7. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    An update: We believe we've found the issue and the fix should be in one of the next versions of the SDK, if not the very next version.
     
  8. afftar

    afftar

    Joined:
    Apr 18, 2014
    Posts:
    65
    I have the same problem in 2019.3.0f6
    Here is my list of affected devices:

    upload_2020-2-3_22-9-9.png


    After the introduction of the new SDK, the ANR level exceeded the critical threshold of Google and now I have to roll back.
    But the problem is that the old SDK was not much better, and I really looked forward to this version with corrections to the ANR, but everything got worse.
    I also noticed that build 64bit IL2CPP has the most problems.
     
  9. ARPAplus

    ARPAplus

    Joined:
    Jun 5, 2015
    Posts:
    32
    I also want to confirm, have a lot of apps, and a lot of similar crashes. 2019.2.19f1
     
  10. trooper

    trooper

    Joined:
    Aug 21, 2009
    Posts:
    748
    On 3.4.2 I'm getting some ANR's that all have "com.unity3d.ads.properties.AdsProperties.getListeners" listed, not sure if it's the same thing.

    162 users affected, 198 events.

    1700 installed users.

    All android versions, all models, occurs 3x as much on armv7 vs arm64.


    Code (CSharp):
    1. ANR  Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50000010 }
    2.     VMStack.java:-2 dalvik.system.VMStack.getThreadStackTrace
    3.     Thread.java:1566 java.lang.Thread.getStackTrace
    4.     AnrPlugin.kt:42 com.bugsnag.android.AnrPlugin.notifyAnrDetected
    5.     Unknown:-2 com.unity3d.player.ReflectionHelper.nativeProxyInvoke
    6.     Unknown:-1 com.unity3d.player.ReflectionHelper.a
    7.     Unknown:-1 com.unity3d.player.ReflectionHelper$1.invoke
    8.     Proxy.java:813 java.lang.reflect.Proxy.invoke
    9.     Unknown:-1 $Proxy9.hashCode
    10.     Hashing.java:48 sun.misc.Hashing.singleWordWangJenkinsHash
    11.     HashMap.java:423 java.util.HashMap.put
    12.     HashSet.java:217 java.util.HashSet.add
    13.     AbstractCollection.java:342 java.util.AbstractCollection.addAll
    14.     LinkedHashSet.java:169 java.util.LinkedHashSet.<init>
    15.     AdsProperties.java:47 com.unity3d.ads.properties.AdsProperties.getListeners
    16.     Listener.java:17 com.unity3d.services.ads.api.Listener$1.run
    17.     Handler.java:751 android.os.Handler.handleCallback
    18.     Handler.java:95 android.os.Handler.dispatchMessage
    19.     Looper.java:154 android.os.Looper.loop
    20.     ActivityThread.java:6351 android.app.ActivityThread.main
    21.     Method.java:-2 java.lang.reflect.Method.invoke
    22.     ZygoteInit.java:896 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
    23.     ZygoteInit.java:786 com.android.internal.os.ZygoteInit.main
     
  11. NikuPotato

    NikuPotato

    Joined:
    Feb 20, 2020
    Posts:
    3
    I'm also getting a lot of similar crash reports via Google Play Console. Mostly with 3.4.2. In our case, these reports are coming from mostly Android OS 9 and 10, but a few other OS versions are also reported.
     
  12. NikuPotato

    NikuPotato

    Joined:
    Feb 20, 2020
    Posts:
    3
    After downgrade to Ads 3.0.3 from 3.4.2 and exclude
    IUnityAdsListner
    from my codes, I haven't received these crash reports from Google Play Console.
    So I'm guessing
    IUnityAdsListner
    may have some issues for Android OS.
     
  13. erdogan_akgun

    erdogan_akgun

    Joined:
    Aug 28, 2018
    Posts:
    8
    Unity Ads: 3.4.5
    Unity: 2018.4.22f1
    A lot of crashes and errors coming from different stack traces but similar.

    An example

    $Proxy22.hashCode
    java.util.Collections.secondaryHash (Collections.java:3427)
    java.util.HashMap.put (HashMap.java:385)
    java.util.HashSet.add (HashSet.java:95)
    java.util.LinkedHashSet.<init> (LinkedHashSet.java:82)
    com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:47)
    com.unity3d.services.ads.api.Listener$5.run (Listener.java:76)
    android.os.Handler.handleCallback (Handler.java:739)
    android.os.Handler.dispatchMessage (Handler.java:95)
    android.os.Looper.loop (Looper.java:234)
    android.app.ActivityThread.main (ActivityThread.java:5526)
    java.lang.reflect.Method.invoke (Method.java)
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
    com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)
     
  14. nextage575

    nextage575

    Joined:
    Nov 4, 2019
    Posts:
    20
    any one who have find out solution for this crash?
     
  15. Ersin

    Ersin

    Joined:
    Oct 25, 2012
    Posts:
    13
    Same problem with @erdogan_akgun. Any solution
    Unity Ads: 3.4.5
    Unity: 2018.4.24f1
     
  16. benbenmushi

    benbenmushi

    Joined:
    Jan 29, 2013
    Posts:
    34
    Hello fellow developers

    We ran into a similar ANR and some android devices.

    It occured right after we updated UnityAds from 3.3.0 to 3.4.6.

    We switched back UnityAds to 3.3.0. :(
    This issue prevent us from updating UnityAds. We need a fix !

    Annotation 2020-08-17 165328.png

    Here are stacktraces, affected devices (ARM+ARM64), OS versions.
    (I attached multiple variation of the stacktrace)

    o_O
    >>>>>>>>>>> Motorola moto e(5) play (james), 2048MB RAM, Android 8.0
    #00 pc 0000000000018e58 /system/lib/libc.so (syscall+28)
    #01 pc 00000000000b395d /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+88)
    #02 pc 000000000028d6d9 /system/lib/libart.so (art::JNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+312)
    #03 pc 0000000000069900 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libunity.so (???)
    #04 pc 000000000236f03c /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libil2cpp.so (???)
    #05 pc 00000000005ae0f8 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f5d908 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libil2cpp.so (???)
    #07 pc 0000000000573984 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libunity.so (???)
    #08 pc 000000000056e874 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libunity.so (???)
    #09 pc 0000000000068324 /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/lib/arm/libunity.so (???)
    #10 pc 000000000027354b /data/app/com.ohbibi.fps-a2D_7_G2Rl0louM9VN6lyw==/oat/arm/base.odex (Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2+146)
    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:913)
    at java.lang.Object.hashCode (Object.java:104)
    at java.util.HashMap.hash (HashMap.java:338)
    at java.util.HashMap.put (HashMap.java:611)
    at java.util.HashSet.add (HashSet.java:219)
    at java.util.AbstractCollection.addAll (AbstractCollection.java:344)
    at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:47)
    at com.unity3d.services.ads.api.Listener$1.run (Listener.java:17)
    at android.os.Handler.handleCallback (Handler.java:789)
    at android.os.Handler.dispatchMessage (Handler.java:98)
    at android.os.Looper.loop (Looper.java:164)
    at android.app.ActivityThread.main (ActivityThread.java:6797)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:772)

    >>>>>>>>>>> Lenovo VIBE K6 Power (K33a42), 3072MB RAM, Android 7.0
    #00 pc 0000000000017698 /system/lib/libc.so (syscall+28)
    #01 pc 00000000000b62bd /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+92)
    #02 pc 0000000000279f15 /system/lib/libart.so (art::JNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+224)
    #03 pc 0000000000069900 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #04 pc 000000000236f03c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #05 pc 00000000005ae0f8 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f5d908 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #07 pc 0000000000573984 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #08 pc 000000000056e874 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #09 pc 0000000000068324 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #10 pc 000000000017bb99 /data/app/com.ohbibi.fps-1/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 java.lang.Object.hashCode (Object.java:110)
    at sun.misc.Hashing.singleWordWangJenkinsHash (Hashing.java:48)
    at java.util.HashMap.put (HashMap.java:423)
    at java.util.HashSet.add (HashSet.java:217)
    at java.util.AbstractCollection.addAll (AbstractCollection.java:342)
    at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:47)
    at com.unity3d.services.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:6077)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:865)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:755)

    >>>>>>>>>>> Neffos Neffos Y5i (Y5i), 2048MB RAM, Android 7.1
    #00 pc 00000000000176b8 /system/lib/libc.so (syscall+28)
    #01 pc 00000000000b6e49 /system/lib/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+92)
    #02 pc 000000000027c2c9 /system/lib/libart.so (art::JNI::GetStringUTFChars(_JNIEnv*, _jstring*, unsigned char*)+224)
    #03 pc 0000000000069900 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #04 pc 000000000236f03c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #05 pc 00000000005ae0f8 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f5d908 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #07 pc 0000000000573984 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #08 pc 000000000056e874 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #09 pc 0000000000068324 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #10 pc 00000000000aaf91 /data/app/com.ohbibi.fps-1/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 java.lang.Object.hashCode (Object.java:110)
    at sun.misc.Hashing.singleWordWangJenkinsHash (Hashing.java:48)
    at java.util.HashMap.put (HashMap.java:423)
    at java.util.HashSet.add (HashSet.java:217)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:49)
    at com.unity3d.services.ads.api.Listener$5.run (Listener.java:76)
    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:6291)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:889)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:779)

    ############################
    Android 8.1 733 43.9%
    Android 7.0 370 22.2%
    Android 8.0 272 16.3%
    Android 7.1 246 14.7%
    Android 9 49 2.9%
    #####################################
    moto e5 play (pettyl) 220 13.2%
    Redmi Go (tiare) 110 6.6%
    Moto G (5th Gen) (cedric) 109 6.5%
    Moto E (5) (nora_8917) 85 5.1%
    Moto G (5S) (montana) 74 4.4%
    Moto G(4) Plus (athene_f) 65 3.9%
    moto g(6) play (aljeter) 53 3.2%
    Lenovo Tab E10 (X104F) 39 2.3%
    LG K9 (cv109) 35 2.1%
    moto e(5) plus (rhannah) 32 1.9%
    moto e(5) play (james) 29 1.7%
    Nokia 2 (E1M) 29 1.7%
    moto e5 plus (ahannah) 29 1.7%
    Moto G4 Play (harpia_t) 27 1.6%
    Moto G (5) Plus (potter_n) 26 1.6%
    LG Q6 (mh) 26 1.6%
    5060 (ADVAN_5060) 25 1.5%
    Moto G(4) (athene) 24 1.4%
    moto g(6) (ali) 23 1.4%
    VIBE K6 Power (K33a42) 23 1.4%
    Others 587 35.1%
    ############# ARM64 #####################
    CPH1801 (CPH1801) 188 13.1%
    vivo 1724 (1724) 124 8.6%
    vivo 1718 (1718) 99 6.9%
    vivo 1716 (1716) 93 6.5%
    Redmi 5A (riva) 49 3.4%
    Redmi 5 (rosy) 39 2.7%
    Y71 (1801) 37 2.6%
    ZenFone 3 (ZE552KL) (ASUS_Z012D) 32 2.2%
    Lenovo TAB4 10 (X304L) 31 2.2%
    vivo 1723 (1723) 29 2.0%
    (ZA551KL)(ZA550KL)(ASUS_X00R_5) 29 2.0%
    Redmi 5 Plus (vince) 28 1.9%
    (ZA551KL)(ZA550KL)(ASUS_X00R_2) 25 1.7%
    ZenFone 4 Selfie (ZD553KL) (ASUS_X00LD_1) 23 1.6%
    ZenFone 3 Max (ZC553KL) (ASUS_X00DD) 21 1.5%
    (ZB556KL)(ZB555KL)(ASUS_X00P_4) 18 1.3%
    Lenovo TAB4 8 (TB-8504X) 18 1.3%
    vivo 1714 (1714) 15 1.0%
    vivo 1611 (1611) 14 1.0%
    ZenFone 3 (ZE520KL) (ASUS_Z017D_1) 13 0.9%
    Others 514 35.7%
    :confused:
    >>>>>>>>>>> TCT (Alcatel) 9024W (PIXI5-8_4G_TMO), 2048MB RAM, Android 7.1
    #00 pc 0000000000049a40 /system/lib/libc.so (read+12)
    #01 pc 000000000004ef55 /system/lib/libc.so (__sread+20)
    #02 pc 0000000000051c25 /system/lib/libc.so (__srefill+180)
    #03 pc 000000000003d40b /system/lib/libc.so (fgets+66)
    #04 pc 0000000000046aff /system/lib/libc.so (pthread_getattr_np+274)
    #05 pc 0000000002fa1d9c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f8c75c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #07 pc 0000000002f72774 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #08 pc 0000000000068294 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #09 pc 000000000019ebb1 /data/app/com.ohbibi.fps-1/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.services.ads.api.Listener$1.run (Listener.java:18)
    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:6119)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:886)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:776)

    >>>>>>>>>>> LGE LG K9 (cv109), 2048MB RAM, Android 7.1
    #00 pc 000000000004a040 /system/lib/libc.so (read+12)
    #01 pc 000000000004f555 /system/lib/libc.so (__sread+20)
    #02 pc 0000000000052225 /system/lib/libc.so (__srefill+180)
    #03 pc 000000000003da0b /system/lib/libc.so (fgets+66)
    #04 pc 00000000000470ff /system/lib/libc.so (pthread_getattr_np+274)
    #05 pc 0000000002fa1d9c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f8c75c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #07 pc 0000000002f72774 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #08 pc 0000000000068294 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #09 pc 00000000001f5d61 /data/app/com.ohbibi.fps-1/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 java.lang.Object.hashCode (Object.java:110)
    at sun.misc.Hashing.singleWordWangJenkinsHash (Hashing.java:48)
    at java.util.HashMap.put (HashMap.java:423)
    at java.util.HashSet.add (HashSet.java:217)
    at java.util.AbstractCollection.addAll (AbstractCollection.java:342)
    at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:47)
    at com.unity3d.services.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:6351)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:896)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:786)

    >>>>>>>>>>> LGE LG K9 (cv109), 2048MB RAM, Android 7.1
    #00 pc 000000000004a040 /system/lib/libc.so (read+12)
    #01 pc 000000000004f555 /system/lib/libc.so (__sread+20)
    #02 pc 0000000000052225 /system/lib/libc.so (__srefill+180)
    #03 pc 000000000003da0b /system/lib/libc.so (fgets+66)
    #04 pc 00000000000470ff /system/lib/libc.so (pthread_getattr_np+274)
    #05 pc 0000000002fa1d9c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #06 pc 0000000002f8c75c /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #07 pc 0000000002f72774 /data/app/com.ohbibi.fps-1/lib/arm/libil2cpp.so (???)
    #08 pc 0000000000068294 /data/app/com.ohbibi.fps-1/lib/arm/libunity.so (???)
    #09 pc 00000000001e98f9 /data/app/com.ohbibi.fps-1/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 java.lang.Object.hashCode (Object.java:110)
    at sun.misc.Hashing.singleWordWangJenkinsHash (Hashing.java:48)
    at java.util.HashMap.put (HashMap.java:423)
    at java.util.HashSet.add (HashSet.java:217)
    at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:49)
    at com.unity3d.services.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:6351)
    at java.lang.reflect.Method.invoke! (Native method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:896)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:786)
    ###########################
    Android 8.1 587 47.2%
    Android 8.0 289 23.3%
    Android 7.0 200 16.1%
    Android 7.1 167 13.4%
    ################# ARM ########################
    moto e5 play (pettyl) 126 10.1%
    Moto G (5th Gen) (cedric) 120 9.7%
    Moto G(4) Plus (athene_f) 87 7.0%
    Moto G (5S) (montana) 86 6.9%
    Moto E (5) (nora_8917) 79 6.4%
    Redmi Go (tiare) 69 5.6%
    moto e(5) plus (rhannah) 40 3.2%
    moto g(6) play (aljeter) 38 3.1%
    Moto G(4) (athene) 35 2.8%
    moto e(5) play (james) 32 2.6%
    Moto G (5S) Plus (sanders_n) 31 2.5%
    LG Q6 (mh) 27 2.2%
    LG K9 (cv109) 25 2.0%
    Moto G4 Play (harpia) 24 1.9%
    moto g(6) (ali) 24 1.9%
    VIBE K6 Power (K33a42) 21 1.7%
    moto e5 plus (ahannah) 20 1.6%
    Moto G (5S) Plus (sanders_nt) 20 1.6%
    Moto G (5) Plus (potter_n) 20 1.6%
    Lenovo Tab E10 (X104F) 16 1.3%
    Others 303 24.4%
    ############# ARM64 #####################
    CPH1801 (CPH1801) 199 11.1%
    vivo 1724 (1724) 116 6.5%
    Redmi 5A (riva) 75 4.2%
    vivo 1716 (1716) 72 4.0%
    vivo 1718 (1718) 68 3.8%
    Redmi 5 (rosy) 67 3.7%
    Redmi 5 Plus (vince) 65 3.6%
    Y71 (1801) 49 2.7%
    (ZB556KL)(ZB555KL) (ASUS_X00P_4) 49 2.7%
    (ZA551KL)(ZA550KL) (ASUS_X00R_5) 46 2.6%
    ZenFone 3 (ZE552KL) (ASUS_Z012D) 45 2.5%
    ZenFone 3 Max (ZC553KL) (ASUS_X00DD) 41 2.3%
    ZenFone 4 Selfie (ZD553KL) (ASUS_X00LD_1) 38 2.1%
    LG X screen (k5) 37 2.1%
    Lenovo TAB4 10 (X304L) 31 1.7%
    vivo 1723 (1723) 22 1.2%
    (ZB556KL) (ZB555KL) (ASUS_X00P_3) 21 1.2%
    Redmi 6 Pro (sakura_india) 19 1.1%
    ZenFone 3 (ZE520KL) (ASUS_Z017D_1) 19 1.1%
    K5 Note (austin2018) 18 1.0%
    Others 696 38.8%



    The code from com.unity3d.ads.properties.AdsProperties.getListeners:
    Code (JavaScript):
    1.  
    2.         public static Set<IUnityAdsListener> getListeners() {
    3. 47:         LinkedHashSet<IUnityAdsListener> listeners = new LinkedHashSet(_listeners);
    4. 48:         if (_listener != null) {
    5. 49:             listeners.add(_listener);
    6.             }
    7. 51:         return listeners;
    8.         }
    The error append on either line 47 or 49.

    I hope the data gathered here will be usefull to fix the issue. :)

    Cheers !
     
    Last edited: Sep 3, 2020
    Alima-Studios likes this.
  17. benbenmushi

    benbenmushi

    Joined:
    Jan 29, 2013
    Posts:
    34
    Quick update on this issue. I updated my post (the version number was incorrect).

    I saw that a new version is live since 7 Aug 2020.
    Has anyone tried it ? does it solve the issue ?

    The release notes does not include informations about 'getListerners' method or anything that looks like the issue of this post:
    upload_2020-9-3_14-48-10.png

    Any informations regarding the present problem would be great !

    Cheers
     
    erdogan_akgun likes this.
  18. ageana

    ageana

    Joined:
    Nov 6, 2013
    Posts:
    48
    This still happens with Unity 2019.4.8f1 and Advertisement Package 3.5.2

    ANR details:

    Input dispatching timed out (e73144b com.google.firebase.MessagingUnityPlayerActivity (server) is not responding. Waited 10004ms for MotionEvent)

    Code (CSharp):
    1.   at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native method)
    2.   at com.unity3d.player.ReflectionHelper.a (unavailable)
    3.   at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
    4.   at java.lang.reflect.Proxy.invoke (Proxy.java:1006)
    5.   at java.lang.Object.hashCode (Object.java:115)
    6.   at java.util.HashMap.hash (HashMap.java:338)
    7.   at java.util.HashMap.put (HashMap.java:611)
    8.   at java.util.HashSet.add (HashSet.java:219)
    9.   at java.util.AbstractCollection.addAll (AbstractCollection.java:344)
    10.   at java.util.LinkedHashSet.<init> (LinkedHashSet.java:169)
    11.   at com.unity3d.ads.properties.AdsProperties.getListeners (AdsProperties.java:39)
    12.   at com.unity3d.services.ads.api.Listener$5.run (Listener.java:76)
    13.   at android.os.Handler.handleCallback (Handler.java:938)
    14.   at android.os.Handler.dispatchMessage (Handler.java:99)
    15.   at android.os.Looper.loop (Looper.java:246)
    16.   at android.app.ActivityThread.main (ActivityThread.java:8447)
    17.   at java.lang.reflect.Method.invoke (Native method)
    18.   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:596)
    19.   at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
    @ap-unity