Unity XR simulator

An open-source package that simulates XR input, featuring input recording and playback.

Project Overview

The UnityXR simulator package simulates VR input from mouse and keyboard input in Unity. This enables developers to test and develop VR applications without needing to use actual VR equipment. The package offers both Unity OpenXR and Oculus XR simulators. Moreover, the package includes features to record and replay the simulated VR input, which can be useful for debugging and refining VR interactions.

My Role

As a developer intern at Rhinox, I undertook the responsibility of converting the existing OpenXR simulator into a more modular and well-separated system. In addition to this, I successfully integrated a pre-existing OculusXR implementation into the simulator, enriching the user experience. To ensure optimal performance, I meticulously optimized every aspect of the project. Lastly, I implemented a recording and playback feature for input, further enhancing the functionality and versatility of the simulator.

Key Features

Release

The package is released through openUPM.

Links

Reflections

Through my involvement in this project, I gained valuable experience in developing code with a modular approach. By effectively separating functionalities and leveraging inheritance, I successfully streamlined the implementation and utilization of simulators, recorders, and related components, making them more concise and user-friendly.


Furthermore, this project provided me with an opportunity to expand my knowledge in Unity by learning the creation of custom input devices. Previously unaware of this possibility, I dived into the process and acquired the skills to develop tailored input devices within the Unity framework.

Media