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. Voting for the Unity Awards are OPEN! We’re looking to celebrate creators across games, industry, film, and many more categories. Cast your vote now for all categories
    Dismiss Notice
  3. Dismiss Notice

Pre-launch crash help

Discussion in 'Android' started by JackPS9, Nov 25, 2018.

  1. JackPS9

    JackPS9

    Joined:
    Nov 14, 2013
    Posts:
    37
    Here is all the info from the test.
    Test ID: 7
    Screen size: 1080 × 1920
    Test Duration: 300 seconds
    Screen density (dpi): 420
    Model Name: Pixel 2
    RAM: 4096 MB
    Manufacturer: Google
    OpenGL ES Version: 3.2
    Android Version: Android 8.1
    Native platform: armeabi-v7a
    Locale: en_CA
    CPU Make: Qualcomm
    CPU Model: MSM8998



    Issue: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object com.unity3d.player.ReflectionHelper.nativeProxyInvoke(int, java.lang.String, java.lang.Object[]) (tried Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke and Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2)
    FATAL EXCEPTION: main
    Process: com.PhentrixGames.DesertStroll, PID: 10447
    java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object com.unity3d.player.ReflectionHelper.nativeProxyInvoke(int, java.lang.String, java.lang.Object[]) (tried Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke and Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2)
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke(Native Method)
    at com.unity3d.player.ReflectionHelper.a(Unknown Source:0)
    at com.unity3d.player.ReflectionHelper$1.invoke(Unknown Source:6)
    at java.lang.reflect.Proxy.invoke(Proxy.java:913)
    at $Proxy10.onUnityAdsReady(Unknown Source)
    at com.unity3d.ads.api.Listener$1.run(Listener.java:17)
    at android.os.Handler.handleCallback(Handler.java:790)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:164)
    at android.app.ActivityThread.main(ActivityThread.java:6494)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
     
  2. oivoodoo

    oivoodoo

    Joined:
    Oct 1, 2013
    Posts:
    3
    Hi @JackPS9 . Have you found the solution?
     
  3. MohHeader

    MohHeader

    Joined:
    Aug 12, 2015
    Posts:
    41
    I have the same issue :(
     
  4. mafff

    mafff

    Joined:
    Jan 16, 2015
    Posts:
    16
    I'm having the exact same problem. My game is built using Unity 2018.3.0f2, Advertisement package version 2.3.1 and il2cpp backend.

    The crash seems to be quite random. Unfortunately I am not able to reproduce it on my device, but the game regularly crashes at launch on a few devices during the pre-launch tests in the Google Play Console.

    This is the device where the crash happened more often:

    Screen Size 1080 × 1920
    Screen Density (dpi) 480
    Model Name Mate 9
    RAM 4096 MB
    Manufacturer Huawei
    OpenGL ES Version 3.2
    Android Version Android 7.0
    Native Platform armeabi-v7a
    Locale en_US
    CPU Make HiSilicon
    CPU Model KIRIN960

    These two lines of the stack trace suggest the crash originates from the Unity Ads plugin:
    Can someone from the Unity team shed some light on this issue? @Yury-Habets @NinjaCat @JuliusM
     
  5. Geneworm

    Geneworm

    Joined:
    Jun 26, 2017
    Posts:
    41
    I've had this no implementation found for reflection helper exception for analytics and IAP:

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source:6)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at $Proxy9.onAddExtras (Unknown Source)
    at com.unity3d.services.analytics.core.api.Analytics$1.run (Analytics.java:23)

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source)
    at java.lang.reflect.Proxy.invoke (Proxy.java:813)
    at $Proxy7.OnProductsRetrieved (Unknown Source)
    at com.unity.purchasing.common.UnityPurchasing.OnProductsRetrieved (UnityPurchasing.java:24)
     
  6. juanminilab

    juanminilab

    Joined:
    May 16, 2017
    Posts:
    2
    Same here. Have any of you guys found a solution?


    java.lang.Error: FATAL EXCEPTION [main]
    Unity version : 2018.3.0b11
    Device model : LGE LG-H918
    Device fingerprint: lge/elsa_tmo_us/elsa:8.0.0/OPR1.170623.032/182831811ed55:user/release-keys
    Caused by
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source:6)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at $Proxy6.onUnityAdsReady (Unknown Source)
    at com.unity3d.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:6710)
    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:770)
     
  7. Khonkaengame

    Khonkaengame

    Joined:
    Aug 17, 2018
    Posts:
    4
    I have this also.

    Caused by java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object com.unity3d.player.ReflectionHelper.nativeProxyInvoke(int, java.lang.String, java.lang.Object[]) (tried Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke and Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2)
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke(Unknown Source)
    at com.unity3d.player.ReflectionHelper.a(Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke(Unknown Source:6)
    at java.lang.reflect.Proxy.invoke(Proxy.java:913)
    at $Proxy12.onUnityAdsReady(Unknown Source)
    at com.unity3d.ads.api.Listener$1.run(Listener.java:16)
    at android.os.Handler.handleCallback(Handler.java:808)
    at android.os.Handler.dispatchMessage(Handler.java:101)
    at android.os.Looper.loop(Looper.java:166)
    at android.app.ActivityThread.main(ActivityThread.java:7425)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
     
  8. mafff

    mafff

    Joined:
    Jan 16, 2015
    Posts:
    16
    The problem doesn't seem to occur anymore after upgrading to the latest Unity Ads SDK from the Asset Store.
     
  9. KoalityGame

    KoalityGame

    Joined:
    Jan 30, 2016
    Posts:
    21
    I have the latest SDK installed and still receive these crashes. The Unity Ads SDK on the asset store was last updated Oct 25, 2018 so I'm not sure if you downloaded a newer update elsewhere?
     
  10. ImbaGame

    ImbaGame

    Joined:
    Jan 29, 2015
    Posts:
    13
    Same here, any help from Unity?
     
  11. 8Shade

    8Shade

    Joined:
    Jun 14, 2014
    Posts:
    9
    Also experience this on Unity2018.3.2f1, no solution yet from my side.
     
  12. shahzad_assetStore

    shahzad_assetStore

    Joined:
    Feb 3, 2018
    Posts:
    2
    facing the similar issue.
    Anyone solved this crash issue


    java.lang.Error
    $Proxy8.onAdLoaded
    java.lang.Error: FATAL EXCEPTION [Thread-43]
    Unity version : 2018.3.0f2
    Device model : vivo vivo 1714
    Device fingerprint: vivo/1714/1714:7.0/NRD90M/1545036514:user/release-keys
    Caused by
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source)
    at java.lang.reflect.Proxy.invoke (Proxy.java:813)
    at $Proxy8.onAdLoaded (Unknown Source)
    at com.google.unity.ads.Banner$3$1.run (Banner.java:176)
    at java.lang.Thread.run (Thread.java:761)
     
  13. FinalDaniel

    FinalDaniel

    Joined:
    Mar 29, 2017
    Posts:
    12
    I've also been getting crash reports from google play's pre-launch report. Most of which seam to come from unity ads.

    They are intermittent, usually just 1 or 2 of the ~9 devices they randomly choose to run their automated test on. I have tried changing the version of the ads sdk using package manager but so far it doesn't seam to have worked ( though there is a long turnaround time to get a new launch report as I can't repro the issue locally )

    Here is the latest stack trace I got in case its helpfull

    FATAL EXCEPTION: main
    Process: com.finalgamestudio.lineloops.android.googleplay, PID: 9778
    java.lang.Error: FATAL EXCEPTION[ main ]
    Unity version : 2018.3.3f1
    Device model : Google Pixel
    Device fingerprint: google/sailfish/sailfish:7.1.2/NJH47F/4146041:user/release-keys
    Caused by: java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object com.unity3d.player.ReflectionHelper.nativeProxyInvoke( int, java.lang.String, java.lang.Object[]) (tried Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke and Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2)
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke( Native Method )
    at com.unity3d.player.ReflectionHelper.a( Unknown Source )
    at com.unity3d.player.ReflectionHelper$1.invoke(Unknown Source)
    at java.lang.reflect.Proxy.invoke( Proxy.java:813)
    at $Proxy10.onUnityAdsReady(Unknown Source)
    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:6121)
    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)



    A little higher up in the same logcat file there was also this error related to the ads sdk:

    Exception encountered by: Thread[ main, 5, main ]. Dumping thread state to outputs and pining for the fjords.
    java.lang.UnsatisfiedLinkError: No implementation found for java.lang.Object com.unity3d.player.ReflectionHelper.nativeProxyInvoke( int, java.lang.String, java.lang.Object[]) (tried Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke and Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__ILjava_lang_String_2_3Ljava_lang_Object_2)
    : at com.unity3d.player.ReflectionHelper.nativeProxyInvoke( Native Method )
    : at com.unity3d.player.ReflectionHelper.a( Unknown Source )
    : at com.unity3d.player.ReflectionHelper$1.invoke(Unknown Source)
    : at java.lang.reflect.Proxy.invoke( Proxy.java:813)
    : at $Proxy10.onUnityAdsReady(Unknown Source)
    : 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:6121)
    : 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)
     
  14. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Same problem here! Since Unity 2018.3, now we are using 2018.3.2f1.

    Any patch to solve this please? We are having thousand crashes on google play console...

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source)
    at java.lang.reflect.Proxy.invoke (Proxy.java:393)
    at $Proxy7.onUnityAdsReady (Unknown Source)
    at com.unity3d.ads.api.Listener$1.run (Listener.java:17)
    at android.os.Handler.handleCallback (Handler.java:739)
    at android.os.Handler.dispatchMessage (Handler.java:95)
    at android.os.Looper.loop (Looper.java:158)
    at android.app.ActivityThread.main (ActivityThread.java:7225)
    at java.lang.reflect.Method.invoke (Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)

    Thanks
     
  15. Deleted User

    Deleted User

    Guest

    Just been through much the same set of issues and solutions as people are mentioning here. Here is the full solution that has worked for me. Using Unity 2018.3.0f2. Upgrade to latest Monetization SDK (3.0.1 I think, import it from asset store). Then on services tab of editor, open ads settings, and uncheck the box that says 'Enable built in ads extension' (which is hiding in the Advanced bit under Ads). Then Unity will most likely then complain about multiple references to the same package, so ...… edit the file YourProject/Packages/manifest.json and delete the line specifying dependency on Inbuilt Ads (find it using standard file explorer outside of Unity Editor because the Editor hides it from you, then open in WordPad or something and delete line that mentions unityads 2.3.1, or whatever version yours says that is pre 3.0, and save the amended file). Then, back in Unity Editor, if you look in the Packages folder of your project, you will see the Advertisements folder magically disappear (it doesn't let you simply delete that folder hence the editing of the json file). You'll also have a warning in Services-Ads about importing latest package or re-enabling built in ads, which is fine since you've already done just that. You'll have to rewrite your scripts that handle the ads to use UnityEngine.Monetization instead of UnityEngine.Advertisements (except for banners which use Advertisements) - instructions available online. Finally build with IL2CPP backend, C++ compiler configuration to master build if building a production ready bundle, and enable all architectures (ARMv7, ARM64, x86). You might also have to update your scripting runtime version to .NET 4.x (I seem to remember it moaning about that to me!) Since doing this lot, I've had zero crashes which makes me happy, and since ARM64 is included in the app bundle, this means I'm ready for the Google requirement of 64 bit support which is going to become a requirement this year. All I need to do now is turn my crash free Ads revenue stream into something that is actually meaningful and then I'll be double happy. Hope this helps anyone who is stuck with crashing ads though.
     
  16. MetalDonut

    MetalDonut

    Joined:
    Feb 7, 2016
    Posts:
    127
    This looks like an issue I wasted weeks on! Does this happen when the ad is closed by the user? There is a known bug that is causing crashes when the user closes the ad.

    The solution for now - which is a hack but works - is to create a private boolean i.e. adClosed = false. On the callback handler for when the ad is closed just set adClosed = true. Then in an Update function have if(adClosed) {do whatever you want i.e. change scene, pop UI etc.}.

    It's not great as you have to have an update function, but it works. The bug won't let you call other classes in the callback handler, but a local variable works fine. Another dev said it should be a static variable, but I found it to work even when it wasn't static.

    Hope this helps!!!
     
  17. IceCatGames

    IceCatGames

    Joined:
    Mar 22, 2016
    Posts:
    33
  18. eboxrocks

    eboxrocks

    Joined:
    Nov 22, 2017
    Posts:
    9
    I'm seeing this same exact issue in pre-launch unfortunately.
     
  19. msureka83

    msureka83

    Joined:
    Nov 28, 2014
    Posts:
    36
    Same problem. Any solutions yet?


    java.lang.Error
    : FATAL EXCEPTION [main]
    Unity version : 2018.3.0f2
    Device model : Xiaomi Redmi 6 Pro
    Device fingerprint: xiaomi/sakura_india/sakura_india:8.1.0/OPM1.171019.019/V10.2.4.0.ODMMIXM:user/release-keys

    Caused by
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source:6)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at $Proxy6.onUnityAdsReady (Unknown Source)
    at com.unity3d.ads.api.Listener$1.run (Listener.java:16)
    at android.os.Handler.handleCallback (Handler.java:794)
    at android.os.Handler.dispatchMessage (Handler.java:99)
    at android.os.Looper.loop (Looper.java:176)
    at android.app.ActivityThread.main (ActivityThread.java:6651)
    at java.lang.reflect.Method.invoke (Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:824)
     
  20. mafff

    mafff

    Joined:
    Jan 16, 2015
    Posts:
    16
    Correction: it still happens, just less often...
     
  21. pranjal_unity

    pranjal_unity

    Joined:
    Mar 8, 2018
    Posts:
    2
    This seems to be a major issue. I have tried all the solution present here but the issue still exists. It has crossed the bad behaviour limit on Google.
     
  22. mkudimov

    mkudimov

    Joined:
    Jan 7, 2018
    Posts:
    11
    This problem not only Unity

    java.lang.Error: FATAL EXCEPTION [main] Unity version : 2018.3.6f1 Device model : samsung SM-G955F Device fingerprint: samsung/dream2ltexx/dream2lte:8.0.0/R16NW/G955FXXS4CRLB:user/release-keys Caused by

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source:6)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at $Proxy7.onUnityAdsReady (Unknown Source)
    at com.unity3d.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:6938)
    at java.lang.reflect.Method.invoke (Native Method)
    at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:327)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1374)

    But Google Admob too:

    java.lang.Error: FATAL EXCEPTION [Thread-52] Unity version : 2018.3.6f1 Device model : samsung SM-T378V Device fingerprint: Verizon/gtesveltevzw/gtesveltevzw:8.1.0/M1AJQ/T378VVRS3BSA5:user/release-keys Caused by

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source:6)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at $Proxy10.onAdFailedToLoad (Unknown Source)
    at com.google.unity.ads.RewardBasedVideo$1$1$2.run (RewardBasedVideo.java:89)
    at java.lang.Thread.run (Thread.java:764)
     
  23. IceCatGames

    IceCatGames

    Joined:
    Mar 22, 2016
    Posts:
    33
  24. ChoYongGil

    ChoYongGil

    Joined:
    Jan 17, 2014
    Posts:
    9
    2018.3.7f1

    java.lang.Error
    : FATAL EXCEPTION [main] Unity version : 2018.3.7f1 Device model : samsung SM-G610L Device fingerprint: samsung/on7xeltelgt/on7xeltelgt:7.0/NRD90M/G610LKLU1BQL3:user/release-keys Caused by

    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native Method)
    at com.unity3d.player.ReflectionHelper.a (Unknown Source)
    at com.unity3d.player.ReflectionHelper$1.invoke (Unknown Source)
    at java.lang.reflect.Proxy.invoke (Proxy.java:813)
    at $Proxy9.onUnityAdsReady (Unknown Source)
    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:1518)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
     
  25. monremobile

    monremobile

    Joined:
    Sep 16, 2015
    Posts:
    10
    I also have those errors with il2cpp backend.(with/out Proguard, with/out stripping,...) (Unity 2018.3.8)

    The quick fix is to use mono... 0 errors.o_O
     
  26. Melnikovv

    Melnikovv

    Joined:
    Oct 21, 2016
    Posts:
    8
    Try setting target API level = 29 instead of highest installed. And if you use Appodeal of Apploving try deleting the rewarded videos and rewarded callbacks.

    It fixed the problem on 3 out of 4 Android 11 devices. But that is better than crash on every Android 11 device.