> 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.

# How to Build Applications with Unity and ZED

This section describes how to build apps in Unity using the ZED.

## Build Settings

To build an application with the ZED SDK, you need to make sure the target platform is set to x86\_64 in Unity build settings.

* Click on *File > Build Settings*
* Set **Target Platform** to Windows (or Linux) and **Architecture** to x86\_64.
* If there are no scenes listed under **"Scenes In Build"**, click **Add Open Scenes**.
* Click **Build And Run** to generate the executable and automatically launch it.

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

## VR Support

To enable VR support, go to **Edit** -> **Project Settings** -> **XR Plug-in Management**, click **Install XR Plugin Management** if it is not installed yet, and enable the provider of your headset. The ZED Unity plugin is compatible with **OpenVR**, **Oculus** and **OpenXR**.

### Oculus Rift

To run your application on Oculus Rift, you must also allow apps from unknown sources to run:

* Launch the Oculus App
* Go to *Settings > General* and allow **Unknown Sources**.

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

### Windows Mixed Reality

The ZED Unity plugin supports WMR headsets via SteamVR only, which requires different settings than described in Unity's [WMR Quick Start Guide](https://docs.unity3d.com/Manual/wmr_quick_start.html). If you have trouble building the app, check the following:

* Your platform must be set to PC, Mac & Linux Standalone (not Universal Windows Platform)
* You must enable the OpenVR provider in **XR Plug-in Management**
* You must have [Windows Mixed Reality for SteamVR](https://store.steampowered.com/app/719950/Windows_Mixed_Reality_for_SteamVR/) installed