Set up for Unreal Engine
This page shows how to enable Spatial Reality Display in your Unreal Engine projects.
Prerequisites
- Setup your Spatial Reality Display, if not, see: Setup Spatial Reality Display,Setup Spatial Reality Display Settings
Install Unreal Engine
Spatial Reality Display currently supports 4.27, 5.3 and 5.4.
Install Unreal Engine by referring to the links bellow.
Hardware and Software Specifications for Unreal Engine.
Install Spatial Reality Display Plugin and Templates
- Download latest Spatial Reality Display Plugin and Spatial Reality Display Templates from Download Page.
-
Install Spatial Reality Display Plugin.
Unzip srd-ue-plugin-4.XX-x.y.z.nnnnn.zip and copy extracted folder SRDisplayPlugin into one of the search paths for Plugins, either in your project or in the Engine itself. See here for instructions on installing Plugins. For simplicity of explanation, we assume you have copied SRDisplayPlugin into C:\Program Files\Epic Games\UE_4.27\Engine\Plugins\Developer\.
Caution
For UE5, if you install the Spatial Reality Display Plugin in `Epic Games\UE_5.x\Engine\Plugins\Marketplace`, the plugin loads when you create a new project, so you can develop Spatial Reality Display UE apps without having to install the plugin in the project folder each time. (If there is no Marketplace folder, create one.)
For UE5, select C++ when creating the project. It does not work correctly in Blueprint-only projects. If Blueprint is selected, add some kind of C++ code.
-
Install Spatial Reality Display Templates.
Unzip srdisplay-ue-templates-x.y.z.nnnnn.zip and copy extracted folders TP_SRDisplay and TP_SRDisplayBP into the Engine's Templates directory. See here for instructions on installing Templates. For simplicity of explanation, we assume you have copied TP_SRDisplay and TP_SRDisplayBP into C:\Program Files\Epic Games\UE_4.27\Templates\.