Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.

How do I use Spatial​Entity​Store to persist spatial mapping data and spatial anchors after a reset?

My goal is to back up the spatial mapping and spatial anchor data on a HoloLens so that if the HoloLens needs to be reset, the spatial mapping data and spatial anchors can be restored without forcing the user to re-scan an area or re-configure all the spatial anchors.

I found this article which seems to explain how to do this. https://developer.microsoft.com/en-us/windows/mixed-reality/shared_spatial_anchors_in_directx

However the referenced class (https://docs.microsoft.com/en-us/uwp/api/Windows.Perception.Spatial.SpatialAnchorTransferManager) says "The export/import approach of sharing spatial anchors between devices is being deprecated. In a future release of Windows, you will need to transition to the SpatialEntityStore API, which provides a shared pool of spatial anchors and metadata, which the system will synchronize on your behalf."

When I search for "Spatial​Entity​Store" (including quotes) on Google, I get 2 results. Where can I find examples of how to use a Spatial​Entity​Store to create a backup of spatial mapping data and spatial anchors?

Sign In or Register to comment.