How to configure a single Unreal Project for Varjo XR4 and Metaquest 3
Hi , I’m currently working with both a Meta Quest 3 and a Varjo XR-4, using the same Unreal Engine VR project (UE 5.7.4). I recently ran into an issue where VR Preview would not work with the Meta Quest 3 . When launching VR Preview, the Unreal Editor preview window opened in a non-VR state, the camera remained fixed with no head tracking, and the headset was stuck on a loading screen (on unreal editor). After some investigation, I found the following discussion which described the same issue:
Following the suggested workaround of removing the Khronos OpenXR registry entry resolved the Meta Quest 3 VR Preview problem. However, after doing so, my project no longer works with the Varjo XR-4, which had been functioning correctly before. My goal is to maintain a single Unreal project that can run on both Meta Quest 3 and Varjo XR-4 without having to delete the Khronos registry folder, switch OpenXR runtimes manually, or modify system configuration each time I change headsets. Has anyone faced this problem and found a workaround for this? Any guidance would be greatly appreciated.
Thanks
