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

Unity Hololens World Anchor Persistence

Hi.
I'm using the WorldAnchorManager together with the TapToPlace script from the HoloToolkit. When Debugging and deploying to Hololens I can see it creates and saves to the World Anchor Store but when Relaunching, none of the saved World Anchors get found.

Could anyone give me a hint on what I'm missing there?

Thank you!

Answers

  • Options
    stepan_stulovstepan_stulov ✭✭✭
    edited May 2017

    Hey, @VanessaAraujo

    When you say "when relaunching" do you mean relaunching or re-deploying the app from within Visual Studio again? Re-deploying kills the contents of WorldAnchorStore. Relaunching doesn't. If you wish to have world anchors stored somewhere independently from your application's lifecycle, you may want to look at WorldAnchorTransferBatch.

    Building the future of holographic navigation. We're hiring.

  • Options

    Hi @stepan_stulov . Thanks for answering my question.
    I meant relaunching. I actually fixed my problem by calling the anchor store on the Start() Unity callback, instead of using Awake().

Sign In or Register to comment.