Search Unity

Bug OnPurchasedFailed reason Unknown

Discussion in 'Unity IAP' started by GastonC, Mar 10, 2023.

  1. GastonC

    GastonC

    Joined:
    Aug 26, 2012
    Posts:
    38
    Hello! On our newly released game, we are seeing TONS (250+ across 150+ users) of OnPurchasedFailed logs, with the reason being unknown. We are on Unity IAP 4.5.2.

    Can anyone from the Unity IAP team look into this please?


    upload_2023-3-10_11-30-58.png

    upload_2023-3-10_11-32-57.png
     
  2. Yannick_D

    Yannick_D

    Unity Technologies

    Joined:
    Feb 21, 2022
    Posts:
    235
    Hello GastonC,

    The OnPurchaseFailed can happen for many reasons, so we will need more information to be able to investigate this.
    On 4.5.2, the device logs would have this information. Since 4.7.0, those logs also have additional information to identify the issue.

    These failures are typically caused by a problem with the communication between the application and the Google Play Store.

    I've also taken a look and it seems like we could improve our OnPurchaseFailed callback by providing more information so this should be an upcoming change.