This guide covers Unreal Engine distribution options and how to build the Oculus-VR fork of Unreal Engine from source.
Unreal Engine distribution
Developers who want access to the latest features of Meta’s Oculus-VR fork of Unreal Engine should download and build the Unreal Engine source code. You can obtain the latest source distribution from the Oculus-VR GitHub Repository. These distributions include the latest Meta XR SDK. We support the current Unreal Engine release and previews of the next release.
While new Horizon OS features ship first to the Oculus-VR GitHub versions, API changes may occur when these branches are merged back into Epic’s version of the engine. Refer to Choosing UE Installation by Feature Compatibility to choose the version that best suits your development criteria.
Note: Disregard any instructions on downloading Epic’s Unreal Engine source code. You will be building the Oculus-VR fork of Unreal Engine source in the steps below.
Download and build Unreal Engine
The following steps will walk you through building Unreal Engine from the Oculus-VR fork source code:
Download the source code from the Oculus-VR fork of Unreal Engine on GitHub and unzip it to a location on your dev machine. To avoid potential errors when building, be mindful of file path length.
Extract or clone the source code. Be aware paths exceeding Windows maximum path length will cause the build to fail. If this is a concern, DO NOT map to a network share. This will substantially slow the build process. Instead, create a junction point for the directory.
Launch the Visual Studio Installer and click Modify for the Visual Studio version you want to use.
Under the Workloads tab, click Game development with C++ if it isn’t checked and then click Modify.