holounity – how to set hololens to a live camera of unity

This post focuses on how to set up a Hololens device to a live display camera of unity. Here we use Holographic Remoting Player to experience Unity app on the Hololens.

Table of Contents

Requirements

You need to let your Hololens and your PC covered in the same network (for instance, in our lab, XMG-LAN).

Configuration

Hololens

Start the Holographic Remoting Player app.

Unity

First you should set up your project as a UWP projects (as I mentioned here).

Go to Player Settings -> XR Settings -> Virtual Reality SDK, tick off WSA Holographic Remoting. (Or may cause some unload problem)

Then, you should set up your connection. Go to Window -> XR -> Holographic Emulation.

Set Emulation Mode to Remote to Device.

Enter the IP adress of your Hololens(which was showed in your Hololens).

Click Connect.

Here you should see Connection Status change to Connected and see the screen go blank in the HoloLens.

Usage

Click Play in Unity to start Play Mode and experience the app on your HoloLens.