I have added a XR Device Simulator to the VR Template example scene.
The problem is that the camera (virtual headset) immediately falls on the floor when playing the project. See screenshots.
How do I use the XR Device Simulator correctly?
I have added a XR Device Simulator to the VR Template example scene.
The problem is that the camera (virtual headset) immediately falls on the floor when playing the project. See screenshots.
How do I use the XR Device Simulator correctly?
My guess is that you have Oculus and/or OpenXR enabled in Edit > Project Settings > XR Plug-in Management and you have your actual headset connected to your computer while you enter Play mode. If you are using a Quest headset, you could try closing Quest Link so the device isn’t discovered at initialization.
What’s probably happening is that the device is found and telling the XR Origin component on the XR Origin (XR Rig) GameObject to set itself to Floor mode. That causes the Camera Offset GameObject to zero out its Y position, putting the Main Camera in the floor. If instead there’s no device connected, it will stay at the default (1.36144 in the template) which raises it up. You can also set Tracking Origin Mode to Device so it isn’t zeroed out.