Forum Discussion
learnwithus
7 years agoHonored Guest
OVRHeadsetEmulator doesn't move the view in the Game panel
Hello, I would like to be able to emulate the headset while developing in Unity, so I don't have to build to a device whenever I want to test. However, the OVR Headset Emulator doesn't move the vie...
frenchjam
6 years agoHonored Guest
I don't know if this is at all in line with the comments above. I am a newby.
I am trying to learn how to develop for Oculus Quest. I followed the setup instructions, created a simple Unity project, dropped in the OVRCameraRig and was able to build and run on the Quest, with head tracking working appropriately on the HMD.
I then wanted to debug some code using OVR Headset Emulator, but I could not get it to respond. With some debugging statements put in place I was able to determine that OVRManager was not being initialized, which seems to be in line with what was reported above. I tried to follow the hints above. No luck, but that may have been my lack of familiarity with a lot of what is mentioned.
In the end, I went into Edit->Project Settings->XR Plugin Management. By default, the android tab was selected and I had checked Oculus as a Plug-in provider. But I had not done so on the desktop tap. Checking "Oculus" as a plug-in provider there as well was all that I needed in order to get the OVR Headset Emulator functionality to work while running my application in the Game window of the Unity editor.
I am using Unity 2019.3.14f1 Personal and I started here, so I may have been lucky that I am not trying to get code that was functional on older versions to work here. I have seen a number of comments in the code about legacy issues, but I can't say that I understand them nor whether I am using the old or the new way.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago