Home > Software design >  Spatial Mapping in Unity for Hololens 1
Spatial Mapping in Unity for Hololens 1

Time:02-15

Good morning, I am trying to install the Mixed Reality Toolkit for Hololens 1. I need to do a Spatial Mapping in Unity and I would like to use a "Spatial Mapping" prefab which should be displayed after Unity configuration with the MRTK tool. Unfortunately, I don’t see the prefab. I enabled the "SpatialPerception" in the Player configuration and simply put "Microsoft Reality Toolkit Foundation" in my project from the MRTK tool. How can I access the Spatial Mapping prefab please? Thank you.

image unity

CodePudding user response:

To use spatial mapping in the app, we should enable the Spatial Awareness system in the MixedRealityToolkit profile and register spatial observers to provide mesh data. There is not a Spatial Mapping "prefab" in MRTK. Here is a step by step guide showing how to do that:Spatial awareness getting started

  • Related