Limitations of testing VR interactions with the simulator
While the XR Device Simulator allows us to simulate a VR experience, it should not be used to test VR interactions. For instance, you can try and test interactions like grabbing and rotating different objects e.g. grab a fruit or twist a valve. If you manage to get the inputs right from the mouse and keyboard, you will notice that it is hard to operate and can even feel inaccurate at times. There is simply a major difference between mouse and keyboard input and tracking input from the VR headset and controllers.
For validation of the VR interactions and user experience, it is essential to use the VR headset and controllers. On the other hand, the XR device simulator is easy to use for early (or frequent) testing and debugging.
Main Concepts
XR Device Simulator in Unity
VR camera vs. non-VR camera usage
Toggling between VR and non-VR modes for testing
Learning Goals
Understand how to switch between VR and non-VR cameras in Unity
Learn how to use the XR Device Simulator to test VR scenes without a headset
Know how to control the simulated rig using keyboard and mouse inputs
Key Takeaways
The XR Device Simulator allows VR scene testing without a physical headset
Toggling the Device Simulator on switches Unity to non-VR camera mode
Disabling the Device Simulator reverts back to the VR camera for headset use
The simulator supports basic movement and interaction testing, though it can be clunky
Further Exploration
Search for “Unity XR Interaction Toolkit”
Search for “Unity XR Device Simulator setup”
Search for “Testing VR applications without headset in Unity”
Explore Unity’s Input System for VR and non-VR controls
How to Toggle Between VR and Non-VR Cameras in Unity