> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.stereolabs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.stereolabs.com/_mcp/server.

# 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:

![image](/_fern-img/0471dfa8e9370a4aba520b8d809dea1bc0fe57845ca4bc6d54a149f06cc899ed.webp)

In **Maps & Mode:**

* Change the **GameMode** to **BP\_ZED\_GameMode**
* Change **Game Instance Class** to **ZEDGameInstance**

![image](/_fern-img/fe2345241c6534acde4605f9ac461a6483b6ef3eba95fd73edd65b717bc2ae9b.webp)

In **General Settings:**

* Change the **Game Viewport Client Class** to **ZEDGameViewportClient**
* Change **LocalPlayerClass** to **ZEDLocalPlayer**

![image](/_fern-img/34bb652d6ab142ebc8e55f069462f72afb6fa6b2b8ea8fb26f85f6e7c4af670b.webp)

* Set **Near Clip Plane** to **1.0**.

![image](/_fern-img/7e0593df9cdb8191c15bf4bb2dcc9f64f99fdb851571d8e1374f4f7890563cec.webp)

Next we'll change graphics settings so that your project is optimized for AR experience with the ZED Mini. In Windows Explorer, go to your project folder, open the **Config** folder, and open **DefaultEngine.ini.**

![image](/_fern-img/78018187c639eabdc22b3a17ee81953e9006945f936a234a1d0c2433174d8cad.webp)

Open it and scroll down to *\[/Script/Engine.RendererSettings]*. If you don't find it, just copy-paste the lines below at the end of your file. Otherwise, there will be a few lines underneath it; erase them and then paste the following ones:

```ini
[/Script/Engine.RendererSettings]
r.SceneRenderTargetResizeMethod=2
r.ForwardShading=False
r.DefaultFeature.AntiAliasing=1
r.DefaultFeature.MotionBlur=0
r.DefaultFeature.AmbientOcclusion=False
r.DefaultFeature.AmbientOcclusionStaticFraction=False
vr.InstancedStereo=False
r.SeparateTranslucency=0
r.HZBOcclusion=0
r.EyeAdaptionQuality=0
r.SSR.MaxRoughness=0
r.rhicmdbypass=0
r.TiledReflectionEnvironmentMinimumCount=10
r.TranslucentSortPolicy=0
r.PostProcessingColorFormat=0
r.DontLimitOnBattery=1
r.ScreenPercentage=100
vr.SteamVR.UsePostPresentHandoff=0
r.MaxQualityMode=0
r.DefaultFeature.LensFlare=0
t.UnacceptableFrameTimeThreshold=20
t.TargetFrameTimeThreshold=12.5
t.HitchFrameTimeThreshold=22.8
r.DefaultFeature.AutoExposure=False
r.TextureStreaming=False
```

Your *DefaultEngine.ini* file should look like this (you could also have some other sections in this file like *\[/Script/EngineSettings.GameMapsSettings]* or *\[/Script/Engine.PhysicsSettings]* for instance):

![image](/_fern-img/4a6999e6ed1187dadc1ec4cb31d7ef0fa7e40deedd2096e249a6bcdd155093d3.webp)

Now in the same folder as *DefaultEngine.ini*, create a new *.txt* file, rename it **DefaultScalability.ini** and open it. Paste the following lines inside:

```ini

[AntiAliasingQuality@0]
r.PostProcessAAQuality=0

[AntiAliasingQuality@1]
r.PostProcessAAQuality=2

[AntiAliasingQuality@2]
r.PostProcessAAQuality=3

[AntiAliasingQuality@3]
r.PostProcessAAQuality=3

;-----------------------------------------------------------------------------------------------------------------

[PostProcessQuality@0]
r.MotionBlurQuality=0
r.AmbientOcclusionLevels=0
r.LensFlareQuality=0
r.SceneColorFringeQuality=0
r.DepthOfFieldQuality=0
r.BloomQuality=1
r.FastBlurThreshold=0

[PostProcessQuality@1]
r.MotionBlurQuality=0
r.AmbientOcclusionLevels=0
r.LensFlareQuality=0
r.SceneColorFringeQuality=0
r.DepthOfFieldQuality=0
r.BloomQuality=2
r.FastBlurThreshold=0

[PostProcessQuality@2]
r.MotionBlurQuality=0
r.AmbientOcclusionLevels=0
r.LensFlareQuality=0
r.SceneColorFringeQuality=0
r.DepthOfFieldQuality=0
r.BloomQuality=3
r.FastBlurThreshold=0

[PostProcessQuality@3]
r.MotionBlurQuality=0
r.AmbientOcclusionLevels=0
r.LensFlareQuality=0
r.SceneColorFringeQuality=0
r.DepthOfFieldQuality=0
r.BloomQuality=4
r.FastBlurThreshold=0

;-----------------------------------------------------------------------------------------------------------------

[TextureQuality@0]
r.MaxAnisotropy=0

[TextureQuality@1]
r.MaxAnisotropy=2

[TextureQuality@2]
r.MaxAnisotropy=4

[TextureQuality@3]
r.MaxAnisotropy=8

;-----------------------------------------------------------------------------------------------------------------

[EffectsQuality@0]
r.TranslucencyVolumeBlur=0
r.TranslucencyLightingVolumeDim=4
r.SceneColorFormat=2
r.SSR.Quality=0

[EffectsQuality@1]
r.TranslucencyVolumeBlur=0
r.TranslucencyLightingVolumeDim=4
r.SceneColorFormat=2
r.SSR.Quality=0

[EffectsQuality@2]
r.TranslucencyVolumeBlur=0
r.TranslucencyLightingVolumeDim=8
r.SceneColorFormat=2
r.SSR.Quality=0

[EffectsQuality@3]
r.TranslucencyVolumeBlur=0
r.TranslucencyLightingVolumeDim=16
r.SceneColorFormat=2
r.SSR.Quality=0
```

This file changes the engine scalability settings configuration in order to be optimized for AR. If you have any performance trouble when developing your application, you can easily change the engine scalability settings in the editor. This might improve your performance a lot depending on your scene content.

![image](/_fern-img/ea32bcb0c7c4f074f7faad102432adb628adeba673f03c12d89a9e3726a307da.webp)

Your **Config** folder should now look like this:

![image](/_fern-img/5c5ebe2be61501bafaa6d5764932add91ccca26a1fdd9cf4c727d01607e89a99.webp)

Go back to the editor and you will see a notification at the bottom right that you need to restart it. Do so. Once you do, the skybox (background) in the editor may be different, but it'll switch back to the white grid you saw before when it finishes building the shaders.