Unity IAP: MissingMethodException: bool UnityEngine.VR.VRSettings.get_enabled()
Tried implementing the Unity IAP in my app and this came up from logcat: MissingMethodException: bool UnityEngine.VR.VRSettings.get_enabled()
I searched on the intertnet and tried re-importing the Unity IAP like done here: https://forum.unity.com/threads/iap-troubleshooting-remove-and-reinstall-unity-iap.511747/ and it didn't work, it didn't show me the Update API window...
I used this tutorial to implement the IAP https://learn.unity.com/tutorial/unity-iap#5c7f8528edbc2a002053b46e
Can anyone help me?
Answer by FatRedBird · Jun 11, 2019 at 06:43 PM
Just dealt with this bug today, what fixed it for me was moving where unity was installed.
There is a bug in unity 2019, that means the IAP thing doesn't get properly set up if there is a space in the file path to where unity is installed. As unity installs in "program files" by default on windows, that means it doesn't work.
I just made a c:/unity folder and moved my existing install into it.
This fixed my issue.
Your answer
![](https://koobas.hobune.stream/wayback/20220612202107im_/https://answers.unity.com/themes/thub/images/avi.jpg)