Oculus package removes itself and "Virtual Reality Supported" being disabled
I'm working on a VR project for the Oculus Quest. I have a problem where the "Oculus (Android)" package from the package manager removes itself, which causes the "Virtual Reality Supported" checkbox to be un-ticked. What can cause something like this? It is extremely frustrating. If I enable it, it resets itself after a few seconds. If I don't touch anything in the scene or change any settings, I get enough time to do a build, so I can technically work around it. But if I forget, I spend valuable minutes building an APK that will not work.
I'm using Unity 2018.4.1f1 (updated to 2018.4.3f1, same issue). Oculus package 1.36.0 (same issue with 1.29.1). I'm using VRTK 3.3.0, and Oculus Integration 1.38 from the Asset Store. Other plugins I use: DOTween, JsonDotNet, Modern UI Pack and Odin Inspector. I don't know if any of these plugins could cause such behaviour. I know VRTK has some scripts to automatically enable VR-related settings, but I haven't found anything that causes VR to get turned off like this.
Video showing the behaviour.
This gif is from a fresh project in Unity 2018.4.3f1, with nothing added except for VRTK 3.3.0 and Oculus Integration 1.38. Here the "Oculus (Android)" package does not remove itself, but VR support is impossible to turn on.
Your answer
Follow this Question
Related Questions
Disable Oculus Quest Touch Controllers on my game for only gaze event 0 Answers
Oculus: Works fine in editor but not working in build 1 Answer
Oculus Quest: Unable to grab grabbable object,Oculus Unity: Can't grab object with OVRHands 0 Answers
How can check if an game object is garbed in Unity VR oculus integration 0 Answers
Oculus Integration & Smooth object rotation by grab 0 Answers