- Windows 10
- Go to Settings > Update & security > For developers
- Enable
Developer mode.
- Visual Studio 2017
when installing...
- Select the
Universal Windows Platform developmentworkload. - Select the
Game Development with Unityworkload, and deselect theUnity Editoroptional component. - Select the
Desktop development with C++workload.
- Select the
- Unity 2017.4
when installing...
- Make sure to select the
Windows Store .NET Scripting Backend.
- Make sure to select the
- Hololens
- Open Microsoft Store app.
- Search Hololens app and install it.
- Holographic Remoting Player
- Open Microsoft Store app.
- Search Holographic Remoting Player app and install it.
- On the Edit > Project Settings > Quality page.
- Select the dropdown under the Windows Store logo and select
Fastest.
- Select the dropdown under the Windows Store logo and select
- On the Edit > Project Settings > Player page, click on the Windows Store tab.
- expand the XR Settings group, in the Rendering section, check the Virtual Reality Supported to add a new Virtual Reality SDKs list and confirm
Windows Mixed Realityis listed. - expand the Other Settings group, make sure that Scripting Backend is set to
.NET.
- expand the XR Settings group, in the Rendering section, check the Virtual Reality Supported to add a new Virtual Reality SDKs list and confirm
- Open File > Build Settings window.
- Change Platform to
Universal Windows Platform - Click Switch Platform.
- Change Platform to
- change the
Clear Flagsdropdown toSolid Color. - change the
Background colortoRGBA (0, 0, 0, 0). - change the
Near ClipPlane field to the HoloLens recommended0.85.
- Run the Holographic Remoting Player app.
- Remember the IP address of your Hololens.
- Open Window > Holographic Emulation.
- Change Emulation Mode to
Remote to Device. - Enter the IP address of your HoloLens, click Connect.
- Click Play in the Unity editor.
- Open File > Build Settings window
- Click Add Open Scenes to add the scene
- Change Platform to
Universal Windows Platformand click Switch Platform - UWP Build Type should be
D3D - UWP SDK could be left at
Latest installed - Check
Unity C# Projectsunder Debugging. - Click Build.
- Open the generated Visual Studio solution that Unity just built.
- On the top toolbar, change the target to
ReleaseandX86, and change the deployment target toRemote Machine. - Enter the IP address and change Authentication Mode to
Universal (Unencrypted Protocol)for HoloLens - Click Debug > Start without debugging.