Perazim
Perazim

Reputation: 1529

MRTK V2.2 - Spatial Mapping starts automatically

Updated to Mrtk 2.2 and now realizing that I cant disable spatial mapping at the start. I can disable it on runtime, but the checkbox under Spatial Awareness System Settings > Spatial Mesh Observer Settings > Startup Behavior is not working.

To reproduce

Set under Spatial Awareness System Settings > Spatial Mesh Observer Settings the value of Startup Behavior to manual start.

Screenshot

image

My Specs

What else I tried

Recreated my profiles; ported via guide;

Upvotes: 2

Views: 271

Answers (2)

Kurtis
Kurtis

Reputation: 73

Thanks for reporting this! This has been fixed in the development branch and will ship with MRTK 2.3.

Upvotes: 2

Perazim
Perazim

Reputation: 1529

This worked for me; I outcommented the content of Enable in line 147 under Assets\MixedRealityToolkit.Providers\WindowsMixedReality\WindowsMixedRealitySpatialMeshObserver.cs

 public override void Enable()
 {
     //if (!IsRunning)
     //{
     //    Resume();
     //}
 }

Upvotes: 0

Related Questions