Configuring your Unreal Project for AR/MR
For the plugin to work, there are a number of configurations that have to be set properly. Let’s step through them. Go to Edit -> Project Settings. You’ll see this window:
In Maps & Mode:
- Change the GameMode to BP_ZED_GameMode
- Change Game Instance Class to ZEDGameInstance
In General Settings:
- Change LocalPlayerClass to ZEDLocalPlayer. Without it, the virtual camera projection does not match the optical center of the real camera.
- Set Near Clip Plane to 1.0.
Project configuration files
The plugin ships its recommended project settings in Plugins/Stereolabs/Source/ZED/Defaults/*.ini. They are copied into your project’s Config folder automatically, but only if the corresponding file does not exist yet. Since your project probably already has these files, merge the following settings into them by hand.
Config/DefaultEngine.ini:
Config/DefaultInput.ini, used by the sample interactions:
Config/DefaultGame.ini, only needed to package the sample maps with your game:
On the first build, the plugin also copies the default camera settings (ZED.ini, Camera.ini) into Saved/Config/ZED/.
Go back to the editor and restart it so that the new settings are applied.

