Holographic Remoting with Unity and HoloLens 2 - XAIA-ExtendedAugmentationInArchitecture/HandTracking GitHub Wiki

This guide provides step-by-step instructions on how to set up and use Holographic Remoting with Unity and HoloLens 2.

NOTE: Holographic Remoting requires a Wi-Fi connection.

On Hololens 2

  1. Install Holographic Remoting App

    • Go to the Microsoft Store on your HoloLens 2.
    • Search for Holographic Remoting Player and install the app.
  2. Start Holographic Remoting

    • Open the Holographic Remoting Player app. After launching the app, make sure to press the "Play" button which appears in the middle of the Player's interface.
    • Note the IP address displayed on the app.

In Unity

  1. Connect from Unity

    • In Unity, select Mixed Reality > Remoting > Holographic remoting on the menu bar for play mode.
    • In the Remote Host Name enter the IP address from your HoloLens 2.
    • In the Video Codec select Auto or H264.
    • Click Enable Holographic Remoting for Play Mode.
  2. Play Your Scene

    • Once connected, press Play in Unity to start the remoting session.
    • Your Unity scene should now stream to your HoloLens 2 device in real-time.

Testing

  • Print this QR code. We recommend using the small size.

Troubleshooting

  • Connection Issues: Ensure both your PC and HoloLens 2 are on the same Wi-Fi network.
  • Unable to Establish Connection: If a connection through the Wi-Fi network cannot be established, you can alternatively connect via cable:
    • Connect the HoloLens device to your PC with a cable.
    • Turn off the Wi-Fi on the HoloLens.
    • In Unity, enter the new IP address that is displayed on the Hololens.

Additional Resources