Answer the question
In order to leave comments, you need to log in
How to solve the problem with In-App Purchase in Unity3D 2018.3?
Hello!
When using In-App Purchase in Unity3D 2018.3 and testing the game in the development environment everything works fine, but when used on a real device, the window for paying for purchases is not displayed! The following error is displayed in the console:
System.Exception: Error: called non-existent method System.Boolean UnityEngine.VR.VRSettings::get_enabled()
[AssemblyUpdater] Type reference 'UnityEngine.VR.VRSettings' replaced with 'UnityEngine.XR.XRSettings' as the declaring type of 'System.Boolean UnityEngine.VR.VRSettings::get_enabled()' in 'System.Void UnityEngine.Purchasing. GooglePlayAndroidJavaStore::purchase(System.String,System.String) {IL_0026: call System.Boolean UnityEngine.VR.VRSettings::get_enabled()}'.
Answer the question
In order to leave comments, you need to log in
there, in fact, everywhere they write to try to install the unit so that there are no spaces in the path.
and the project as well) to be sure)
delete, re-import IAP. and that look will pass) but in general they promised that they will fix it in Unity2019 or have already fixed it)))
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question