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. (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)
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?
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. (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)
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.
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.
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.
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.
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.
Here are stacktraces, affected devices (ARM+ARM64), OS versions.
(I attached multiple variation of the stacktrace)
Stacktrace 1
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. (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. (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%
Stacktrace 2
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. (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:
public static Set<IUnityAdsListener> getListeners() {
47: LinkedHashSet<IUnityAdsListener> listeners = new LinkedHashSet(_listeners);
48: if (_listener != null) {
49: listeners.add(_listener);
}
51: return listeners;
}
The error append on either line 47 or 49.
I hope the data gathered here will be usefull to fix the issue.
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)
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:1006)
at java.lang.Object.hashCode (Object.java:115)
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:39)
at com.unity3d.services.ads.api.Listener$5.run (Listener.java:76)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:246)
at android.app.ActivityThread.main (ActivityThread.java:8447)
at java.lang.reflect.Method.invoke (Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:596)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)