Search code examples
c#unity-game-enginehololensmrtk

HoloLens 2 / Unity / MRTK : Boundary System


I've been trying to get the Boundary System working in Unity but without much luck. There seems to be little in documentation apart from here and the MRTK sample which doesnt seem to do anything.

My end goal is to show a "safe area" in which the user can operate.

To Replicate:

  1. Create a new project and set it up in Unity follwing this guide : Link
  2. Import the "Mixed Reality Toolkit Examples" Boundary Demo
  3. Open The Demo scene and make sure the profiles are assigned
  4. Deploy the Demo to the HoloLens 2 and the only thing shown is the text telling me about the boundry visualization

Things I've Tried:

  • Creating a new project
  • Installing MRTK Scene Understanding and Plane Finding

Versions: Unity 2020.3.29f1 MRTK 2.8.2

Has anyone got this working, or is there a more helpful guide?

Boundary Settings

Thanks,


Solution

  • As Boundary system overview — MRTK2 said, the Boundary system is designed for VR headset.

    The Boundary system provides support for visualizing Virtual Reality boundary components in mixed reality applications. Boundaries define the area in which users can safely move around while wearing a VR headset. Boundaries are an important component of a mixed reality experience to help users avoid unseen obstacles while wearing a VR headset.

    HoloLens does not support the concept of boundaries. To achieve what you want, you may take advantage of Spatial awareness.