microsoft / OpenXR-Unity-MixedReality-Samples

Sample Unity projects to demo how to use OpenXR plugin in Unity for HoloLens 2 and Mixed Reality headsets
MIT License
245 stars 70 forks source link

[Feature Request] Support saving and loading using the ARAnchorManager API #187

Closed camnewnham closed 2 months ago

camnewnham commented 4 months ago

At present, it appears that the technique for saving anchors on the HoloLens 2 is to use Microsoft.MixedReality.OpenXR.XRAnchorStore. I was lucky to find an example of this usage in the World Locking Tools samples.

However there are similar functions in the ARAnchorManager API that would not require a whole lot of #if UNITY_WSA -- enabling code compatibility with Meta etc.

At present, ARAnchorManager.subsystem.subsystemDescriptor.supportsSaveAnchor returns false, so it appears this API is not yet implemented. Is this on the roadmap for the Microsoft OpenXR plugin?

AMollis commented 3 months ago

@camnewnham thank you for your feedback. The team will prioritize accordingly. For the time being please continue to use Microsoft.MixedReality.OpenXR.XRAnchorStore.