Building Applications

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 and Architecture to x86_64.
  • Click Build And Run to generate the executable and automatically launch it.

VR Support

To enable VR support in the Unity Editor, click the Virtual Reality Supported checkbox in Player Settings. If you’ve imported the Oculus Integration or SteamVR Unity plugins to your project (optional but recommended) then the checkbox should be already enabled.

Allow Unknown Sources

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.