XR Plugins and legacy XR system : HoloLens WorldAnchors & spatialMapping broken

Hi all,

I started using XR plugins with Unity 2019.2.8f1 for my current HoloLens 1 projects.
Tracked pose driver works fine with ML1 and HL1, but HL1 specific XR features like Worlds Anchors placing, saving and loading(Unity - Manual: HoloLens WorldAnchor persistence) or SpatialMapping (Unity - Manual: Spatial Mapping components) don’t work anymore.
Are they replaced by new apis or is it a system bug ?
Help would be greatly appreciated since I can’t move to the new XR plugin if those core features are not working on HoloLens.

Thanks !
Diego
cto, realcast

Some of these are replaced by the AR Subsystems versions here: About AR Subsystems | AR Subsystems | 2.1.19

World Anchor → XR Reference Points: Struct XRReferencePoint | AR Subsystems | 2.1.19

And some by general APIs not tied to AR:
Spatial Mapping → XR Meshing : Unity - Scripting API: XRMeshSubsystem

Note that these APIs are simplified to a core, common set of features.

Specific to the Windows MR XR Plugin, you can find info on differences and extensions to those APIs here: About XR SDK for Windows MR | Windows XR Plugin | 2.0.4-preview.4 (Note the doc generation currently has a bug with the Markdown used which makes the docs a bit ugly but all the data is there.)

We’d love to get feedback on these APIs, especially in regards to what you need that we may not be currently supporting either directly or by using provider specific extensions.

1 Like