Search Unity

Bug IAP Bug

Discussion in 'Unity Analytics' started by SevenPointRed, Oct 26, 2022.

  1. SevenPointRed

    SevenPointRed

    Joined:
    Feb 3, 2016
    Posts:
    218
    This errorcomes up on every failed purchase

    Code (CSharp):
    1. UnityError Exception: NullReferenceException: Object reference not set to an instance of an object. Unity.Services.Analytics.TransactionCurrencyConverter.Convert (System.String currencyCode, System.Double value) (at <00000000000000000000000000000000>:0) UnityEngine.Purchasing.AnalyticsAdapter.GenerateRealCurrencySpentOnPurchase (UnityEngine.Purchasing.Product product) (at <00000000000000000000000000000000>:0) UnityEngine.Purchasing.AnalyticsAdapter.BuildTransactionFailedParameters (UnityEngine.Purchasing.Product product, UnityEngine.Purchasing.PurchaseFailureReason reason) (at <00000000000000000000000000000000>:0) UnityEngine.Purchasing.AnalyticsAdapter.SendTransactionFailedEvent (UnityEngine.Purchasing.Product product, UnityEngine.Purchasing.PurchaseFailureReason reason) (at <00000000000000000000000000000000>:0) UnityEngine.Purchasing.AnalyticsClient.OnPurchaseFailed (UnityEngine.Purchasing.Product product, UnityEngine.Purchasing.PurchaseFailureReason reason) (at <00000000000000000000000000000000>:0) UnityEngine.Purchasing.StoreListenerProxy.OnPurchaseFailed (UnityEngine.Purchasing.Product i, UnityEngine.Purchasing.PurchaseFailureReason p) (at <00000000000000000000000000000000>:0)