- 
                Notifications
    
You must be signed in to change notification settings  - Fork 113
 
Open
Description
We have a null reference thrown by Google Play Billing, with the following stacktrace:
Google.Play.Billing.GooglePlayStoreImpl.ParsePurchaseResult (UnityEngine.AndroidJavaObject billingResult, UnityEngine.AndroidJavaObject javaPurchasesList) (at <00000000000000000000000000000000>:0)
System.Action`2[T1,T2].Invoke (T1 arg1, T2 arg2) (at <00000000000000000000000000000000>:0)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <00000000000000000000000000000000>:0)
UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) (at <00000000000000000000000000000000>:0)
UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, System.IntPtr jmethodName, System.IntPtr jargs) (at <00000000000000000000000000000000>:0)
Rethrow as TargetInvocationException: Google.Play.Billing.Internal.PurchasesUpdatedListener.onPurchasesUpdated(UnityEngine.AndroidJavaObject,UnityEngine.AndroidJavaObject)
UnityEngine.AndroidJavaProxy.Invoke (System.String methodName, System.Object[] args) (at <00000000000000000000000000000000>:0)
UnityEngine._AndroidJNIHelper.InvokeJavaProxyMethod (UnityEngine.AndroidJavaProxy proxy, System.IntPtr jmethodName, System.IntPtr jargs) (at <00000000000000000000000000000000>:0)
From our own investigation, it appears that the java purchase list is null and the store is commonly trying to reconnect.
Most reports also have the following log associated:
Google Play Store: Purchase failed with error code 'Error' and debug message: ''
And a null debug message isn't too useful to help track this sort of thing, but that might be best as a separate issue?
Metadata
Metadata
Assignees
Labels
No labels