So I am developing a VR application and recently encountered a very frustrating bug. After starting my project in the editor a few times to test some environment stuff (without putting on my headset) I now can’t get play mode to work in my headset the way it did previously. Every time I hit play, it just hangs for a second, then takes me back to the editor view, which is in play mode.
I’ve done some googling and found several mentions of this, and I’ve tried several solutions including running this script: Dorkbots-UnityUtils/Dorkbots/XR/EnableXR.cs at main · dorkbot/Dorkbots-UnityUtils · GitHub. Unfortunately none of it has worked and I’ve now lost several days of development time.
Anyone have a tried and true simple solution to this? Also, the console doesn’t offer any particularly useful feedback either.