Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

GooglePlay Console Crashes (OnGetProductCatalog & OnAdFailedToLoad)

Discussion in 'Unity IAP' started by KepleriansTeam, Mar 5, 2019.

  1. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Hi! Someone else is having these crashes?

    I am using Unity 2018.3.2f1 with IAP native service and UnityAds 3.0.1(From Asset Store).

    OnGetProductCatalog:

    java.lang.Error: FATAL EXCEPTION [main] Unity version : 2018.3.2f1 Device model : samsung SM-G920F Device fingerprint: samsung/zerofltexx/zeroflte:7.0/NRD90M/G920FXXU6ERF5: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 $Proxy11.onGetProductCatalog (Unknown Source)
    at com.unity3d.services.ads.api.Purchasing$3.run (Purchasing.java:61)
    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:6682)
    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)

    OnAdFailedToLoad:

    java.lang.Error: FATAL EXCEPTION [Thread-164] Unity version : 2018.3.2f1 Device model : samsung SM-J730G Device fingerprint: samsung/j7y17ltedx/j7y17lte:8.1.0/M1AJQ/J730GDXS5BRK1: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 $Proxy13.onAdFailedToLoad (Unknown Source)
    at com.google.unity.ads.Interstitial$1$1$2.run (Interstitial.java:89)
    at java.lang.Thread.run (Thread.java:764)


    Thanks.

     
  2. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Here an image of the crashes on Google Play console.
     

    Attached Files:

  3. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Are you able to reproduce?
     
  4. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Unfortunately, not happening in our devices... but we are having everyday hundreds of crashes of this since we changed from Unity 2017 to Unity 2018.

    Thanks for support.

    If you need something more, ask me please.
     
  5. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    If can be useful, here you have the affected devices and android version list.

    Now we have 3% crashes on a game with > 30k downloads/day ( > 5M totals)... And can't do anything to fix it.
     

    Attached Files:

  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @Etorki-Games If this is high priority for you, you might consider obtaining one of the affected devices and test.
     
    Last edited: Mar 14, 2019
  7. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    With the latest update, we think that the crashes are gone. We did "reimport all" in the project.

    About getting an affected device ... we have tried on a lot of devices, but we understand that it happens randomly, and sometimes the same device in different players, have different results ...

    We are waiting a few days to make sure that there are enough updated devices to fully affirm that it is resolved.

    Thanks for the advice anyway :)
     
  8. ImbaGame

    ImbaGame

    Joined:
    Jan 29, 2015
    Posts:
    13
    Same here's I got about 1% crash for many devices.
     
  9. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    We have identified the issue and a fix will hopefully be included in a soon upcoming Unity release, it's going through QA now.
     
  10. KepleriansTeam

    KepleriansTeam

    Joined:
    Mar 14, 2014
    Posts:
    31
    Thank you! Its very much appreciated! We have the half of crashes now, but there are still a lot...

    Will be in 2018.4?

    Thanks again!
     
  11. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Release is imminent, hopefully in a few weeks time frame or shorter. And the plan is to back port, but specific versions are not available yet.
     
  12. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    any fix for this? seems random cause other apps are not showing..im using unity 2018.3.8f1
     
  13. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please see my previous post
     
  14. domdev

    domdev

    Joined:
    Feb 2, 2015
    Posts:
    375
    is there any fix yet? I'm getting crazy about this, cause I have lot of apps need to update then few of the apps getting errors