Search Unity

Crash on Android 9

Discussion in 'Unity IAP' started by arielsan, Sep 12, 2018.

  1. arielsan

    arielsan

    Joined:
    Dec 3, 2013
    Posts:
    47
    Hi, we are having some issues on Android 9. We are using Unity 2017.1.1p4 and Unity IAP 1.20.0 (we had reports for the null currency bug before but that one was fixed in this version and it seems to work).

    Here is the issue:

    Code (CSharp):
    1. Sep 9, 4:00 AM on app version 67
    2. Google Pixel 2 XL (taimen), Android 9
    3. Report 5
    4.  
    5. java.lang.Error: FATAL EXCEPTION [pool-18-thread-1]
    6. Unity version     : 2017.1.1p4
    7. Device model      : Google Pixel 2 XL
    8. Device fingerprint: google/taimen/taimen:9/PPR2.180905.005/4928864:user/release-keys
    9. Caused by
    10.   at android.os.Parcel.createException (Parcel.java:1950)
    11.   at android.os.Parcel.readException (Parcel.java:1910)
    12.   at android.os.Parcel.readException (Parcel.java:1860)
    13.   at com.android.vending.billing.IInAppBillingService$Stub$Proxy.isBillingSupportedExtraParams (IInAppBillingService.java:756)
    14.   at com.unity.purchasing.googleplay.IabHelper.finishSetup (IabHelper.java:335)
    15.   at com.unity.purchasing.googleplay.IabHelper.access$000 (IabHelper.java:76)
    16.   at com.unity.purchasing.googleplay.IabHelper$1.workWith (IabHelper.java:277)
    17.   at com.unity.purchasing.googleplay.BillingServiceManager$2.run (BillingServiceManager.java:146)
    18.   at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
    19.   at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
    20.   at java.lang.Thread.run (Thread.java:764)
    Google considers the crash rate to give us a feature or not and one of the main reasons for crashes right now is this one but we don't understand what is happening here.

    It only happens on Android 9 (at least in the reports) but we have devices (pixel xl) with that android and can't reproduce the issue, maybe because we are testers, dunno (will try without being a tester)

    I have more stacktraces but all say the same, the affected devices are:

    Pixel 2 (walleye) 24 60.0%
    Pixel 2 XL (taimen) 9 22.5%
    Pixel (sailfish) 7 17.5%

    Thanks
     
    Last edited: Sep 13, 2018
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446