Unreal Engine fork

This method requires deep understanding of how the Unreal Engine works. You will build your own Varjo UE engine which will have better performance as compared to other methods.

1. Install SteamVR

Download and install from the Steam page 

2. Install Varjo Base

3. Clone the Varjo Unreal Engine

Create folder in preferred place (for example C:\sources) for the Unreal source and navigatethere.

Clone the Varjo Unreal Engine GitHub repository.

Note: Access to the Varjo Unreal Engine repository is granted to developers who already have access to the Unreal Engine mainline GitHub repository. Developers who would like to sign up for the Unreal Engine repository via GitHub can follow the instructions on the official page.

4. Download dependencies

Run /UnrealEngine-<version>/Setup.bat to download all the dependencies. This may take a while as there is around 5 GB to be downloaded. 

Agree with the prompt about project type if it pops up.

5. Building Unreal Engine

Follow the Unreal documentation starting with Building Unreal Engine from Source. 

Please follow the steps from the Unreal website, as it contains the latest instructions for creating your own Unreal Engine build.

Make sure you are building the Unreal Engine that you have downloaded from Varjo repository, instead of the one shown in the Unreal tutorial as an example.

6. Open your project with Varjo UE

Go to the project folder and right-click on .uproject file. Select Switch Unreal Engine version… and select an engine folder compiled by you from the list. 

Open the project to the Visual Studio by double-clicking on the .sln file. 

Run the project: press Play in the Visual Studio. Unreal Editor with the project will open. 

7. Check Varjo plugin

Open Plugins from Edit > PluginsLook for the Varjo plugin from the Virtual Reality section. Ensure that it is enabled. 

8. Run your project

To run on the headset or in Varjo software emulator, select “Play”“VR Preview” 

9. Check the Performance and Visual Quality guidance

Tune the project with the guidance from Performance and Visual Quality page.