Using Varjo Plugin for Unreal
Follow the next steps to get the Varjo Plugin for Unreal set up and the first example scene running in Varjo headset. You can either develop using the Blueprints or the Unreal Studio. This method is recommended only for developers who require the cutting-edge features of the newest Unreal Engine version over better performance. We always recommend using the Varjo Unreal Engine version over Varjo Plugin for Unreal if you want the best possible Varjo features and performance as the engine is ahead of the mainline Unreal development.
1. Install supported version of Unreal Engine
- Install the Unreal Engine from the Unreal website.
2 Adding Varjo Plugin for Unreal to Project
This example shows how to add Varjo plugin to an existing Unreal project.
2.1 Get Example Project
We use the VarjoUnrealExamples VarjoSample project as the example project where plugin is added.
- Download Unreal Examples
2.2 Add Varjo Plugin for Unreal to the Project
- Download Varjo Plugin for Unreal
- Make sure your Project is closed
- Create a new folder under ‘VarjoUnrealExamples\VarjoSample\’ and name it as ‘Plugins’.
- Unpack VarjoUnrealPlugin.zip to ‘VarjoUnrealExamples\VarjoSample\Plugins’.
2.3 Enable Varjo Plugin for Unreal
- Open the VarjoSample project with the Unreal editor
- Go to ‘Edit’ -> ‘Plugins’. At the top of the left-hand side list there should be ‘Virtual Reality’ under ‘Installed’. Click it and make sure that the ‘Enabled’ box is checked in the ‘Varjo’ plugin.
2.4 Disable SteamVR Plugin for Unreal
- Go to ‘Edit’ -> ‘Plugins’. Search for ‘SteamVR’. Make sure that the ‘Enabled’ box is unchecked for the ‘SteamVR’ plugin.
2.5 Modify BaseEngine.ini
- Go to ‘UnrealEngine\Engine\Config\’ folder. Open BaseEngine.ini using text editor and add line ‘VarjoHMD=15’ as shown in the screenshot below. Putting the line before SteamVR will ensure correct priority when launching project. This will also prevent SteamVR from launching when running Unreal project.