MethodAccessException: Method `UnityEngine.Purchasing.Product:set_receipt (string)' is inaccessible

Hello, I just updated my Unity IAP to solve Confirm Pending purchase after restarting app.
But this error appear when I initialize the IAP. is there some way to fix this?

E/Unity: MethodAccessException: Method UnityEngine.Purchasing.Product:set_receipt (string)' is inaccessible from method UnityEngine.Purchasing.GoogleFetchPurchases:FillProductsWithPurchases (System.Collections.Generic.IEnumerable`1<UnityEngine.Purchasing.Models.GooglePurchase>)’

We are not seeing this error. Can you provide steps to reproduce, perhaps using the Sample IAP Project here. Sample IAP Project

Hell JeffDUnity3D,

It seems the problem is because my latest internal testing is override by another built which has no billing plugin in it.
Thanks for the response, I think the problem is solved

1 Like