Before you start, make sure that your development setup meets the requirements.
Install Varjo OpenXR plugin for your engine from Unreal Marketplace and either open a project or create a new one. Alternatively, you can download and install the plugin manually for your project.
To get access to all features and performance optimizations, we recommend that you always use the Varjo OpenXR plugin when developing for Varjo headsets. You can also enable OpenXR in Unreal without Varjo-specific features.
In Plugins, search for XR and activate VarjoOpenXR, activate OpenXR, OpenXREyeTracker, OpenXRHandTracking.
In Plugins, search for VR and disable OculusVR and SteamVR, leave only OpenXR switched On. When done, restart the editor.
Varjo OpenXR plugin is now ready for use. You can find the plugin settings under Project Settings > Plugins > Varjo OpenXR.
Select VR Preview play mode and click Play to see the scene inside the headset.
A good way to get started is by using the Varjo OpenXR example project. It is built on the Unreal VR Template and comes with simple examples for utilizing all supported features.
See Recommended Settings for supported rendering features and instructions on how to optimize visual quality and performance.
Unreal VR Template is a good starting point for your project.