Quickstart: Deploy Unity sample to Desktop
This quickstart covers how to deploy and run the quickstart sample app for Unity to a desktop PC.
In this quickstart you will learn how to:
- Build the quickstart sample app for desktop
- Deploy the sample to a PC
- Run the sample on a PC
Prerequisites
In this quickstart we will deploy the sample project from Quickstart: Render a model with Unity.
Make sure your credentials are saved properly with the scene and you can connect to a session from within the Unity editor.
Disable virtual reality support
Only flat desktop apps are currently supported on desktop so VR support has to be disabled.
- Open Edit > Project Settings...
- Select Player on the left.
- Select the Universal Windows Platform settings tab.
- Expand the XR Settings.
- Disable Virtual Reality Supported.

- Above XR Settings, expand Publishing Settings.
- In Supported Device Families, make sure Desktop is checked.
Build the sample project
- Open File > Build Settings.
- Change Platform to Universal Windows Platform (PC Standalone is also supported but not used here, see platform limitations).
- Set Target Device to PC.
- Set Architecture to x86.
- Set Build Type to D3D Project.

- Select Switch to Platform.
- When pressing Build (or 'Build And Run'), you will be asked to select some folder where the solution should be stored.
- Open the generated Quickstart.sln with Visual Studio.
- Change the configuration to Release and x86.
- Switch the debugger mode to Local Machine.

- Build the solution.
Launch the sample project
Start the Debugger in Visual Studio (F5). It will automatically deploy the app to the PC.
The sample app should launch and then start a new session. After a while, the session is ready and the remotely rendered model will appear in front of you. If you want to launch the sample a second time later, you can also find it from the Start menu now.
Next steps
In the next quickstart, we will take a look at converting a custom model.