After update to UnityIAP 1.14.1, Error on my android device " Could not load type ‘UnityEngine.VR.VRSettings’ from assembly ‘Stores’."
I delete plugins/UnityChannel, UnityPurchasing folder and reimporting UnityIAP from service tab again and again, but i had got same error.
Should I check “Build Setting - XR Setting”??
- I did create new project and Import UnityIAP from service tab.
- Build “IAP Demo” scene only, Available items initialize succeed on android device.(from debug log).
- Select item → click buy button → I had got this error.
TypeLoadException: Could not load type ‘UnityEngine.VR.VRSettings’ from assembly ‘Stores’.
E/Unity (15780): at UnityEngine.Purchasing.JSONStore.Purchase (UnityEngine.Purchasing.ProductDefinition product, System.String developerPayload) [0x00000] in :0
E/Unity (15780): at UnityEngine.Purchasing.PurchasingManager.InitiatePurchase (UnityEngine.Purchasing.Product product, System.String developerPayload) [0x00048] in /Users/justing/development/unity1/Extensions/UnityPurchasing/Runtime/Purchasing/PurchasingManager.cs:60
E/Unity (15780): at IAPDemo.m__2 () [0x00067] in D:\work\Unity3d\Test03\Assets\Plugins\UnityPurchasing\script\IAPDemo.cs:602
E/Unity (15780): at UnityEngine.Events.InvokableCall.Invoke () [0x00017] in /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent.cs:165
E/Unity (15780): at UnityEngine.Events.UnityEvent.Invoke () [0x00024] in /Users/builduser/buildslave/unity/build/Runtime/Export/UnityEvent_0.cs:58
E/Unity (15780): at UnityEngine.UI.Button.Press () [0x0002d] in C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Button.
I’m using aws-sdk, facebook-sdk, JSONObject plugins.
Unity3d version is 2017.2.0f3.
How can i solve this error?
Or How can i got old versions of Unity IAP?
Thanks.