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.
hold a worldanchor when updating an application
I am developing using UNITY 5.5.2f1.
I fixed the object using worldanchor.
Although the object is displayed correctly even after rebooting,
If you modify the application and transfer it from VisualStudio, the object will not be displayed.
Is there a way to keep the worldanchor even if I update the application?
Best Answer
-
stepan_stulov ✭✭✭
Hello, @hys73
This is not really updating, this is re-deploying of the application. Re-deploying kills the anchors within the application's world anchor store. I'm not sure whether actual updates delivered via the Windows Store will also clear the anchor store. What you can certainly do is store your anchors in a WorldAnchorTransferBatch instead and save that batch file in a location unaffected by the updating or re-deploying processes.
Building the future of holographic navigation. We're hiring.
5
Answers
Hello, @hys73
This is not really updating, this is re-deploying of the application. Re-deploying kills the anchors within the application's world anchor store. I'm not sure whether actual updates delivered via the Windows Store will also clear the anchor store. What you can certainly do is store your anchors in a WorldAnchorTransferBatch instead and save that batch file in a location unaffected by the updating or re-deploying processes.
Building the future of holographic navigation. We're hiring.