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.
Options

Saving/Loading world anchor with WorldAnchorStore and rooms

I am looking at this page to save/load the position of my game objects in a scene.
https://developer.microsoft.com/en-us/windows/holographic/persistence_in_unity
But it does not describe how to handle persistence in different room environments. Is HoloLens (Windows) managing these different rooms automatically? Do developers have to also implement code for handling multiple environments? Can same object have same anchor name in different rooms?
Thanks!

Best Answers

Answers

  • Options

    I have a use case for changing rooms:

    A trainer uses the hololens in a training program in conference room A. He sets up the elements by placing objects (with Anchors), and runs the training. The anchors work well because each time he fires up the application the objects appear at the WorldAnchors as expected.

    The next day, the trainer has been assigned conference room B, which is physically different from A.

    Does the Hololens detect that this is no longer the same environment? What happens to the saved anchors in this case ?

    At startup the Hololens tries to detect the room we are in. Is this detection somehow automatically linked with Unity WorldAnchors ?

    Thanks !

Sign In or Register to comment.