How to Deploy a Unity Game to the HoloLens Device – Step by Step

Make sure your computer meets the requirements and install the tools, which can be found here:

https://developer.microsoft.com/en-us/windows/holographic/install_the_tools

 

Video Tutorial:

 

1. Make sure your Unity game is set to be a Windows Store app in the Build Settings

 

image

2. Make sure the SDK is set to Universal 10. UWP Build Type can be either XAML or D3D. Build and Run on Local Machine. It is important to check the Unity C# Projects checkbox.

3. Click the Player Settings and under “Other Settings” check the Virtual Reality Supported Checkbox and then pull Windows Holographic from the dropdown. In order for this to be available, you must have downloaded all the right tools. (VS 2015 Update 2 or better, Unity 5.4.0b14-HTP or better)

 

image

4. Still in Player Settings, go to the “Publishing Settings” tab and then scroll down to the Capabilities section and select SpatialPerception.

5. Click Build from the Build settings dialog box. Select the output folder. I called mine “app”.

6. Browse to that folder and open the Visual Studio solution (.sln) file.

7. Change to Release if you want the best speed.

8. Change from ARM to x86. 

9. Change to Remote Machine.

10. Click the “Run” button to run on the Remote Machine. This still requires for the IP address to be setup. Check out my previous blog post if you have questions about that.

Leave me a comment and let me know if you have any problems or if this was helpful.

3 thoughts on “How to Deploy a Unity Game to the HoloLens Device – Step by Step

Tell me what you think!