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.

Access Denied using Sharing Service + Holographic Remoting

mark_grossnicklemark_grossnickle ✭✭✭
edited October 2016 in Questions And Answers

I am getting an access denied for the WorldAnchorTransferBatch ExportAsync.

This only happens in Holographic Remoting. It works fine if remoting is not active (both device and editor).

The world anchor has been saved... just fails to export.

// Save the anchor to our local anchor store. if (anchorStore.Save(exportingAnchorName, anchor)) { sharedAnchorInterface = new WorldAnchorTransferBatch(); sharedAnchorInterface.AddWorldAnchor(guidString, anchor); WorldAnchorTransferBatch.ExportAsync(sharedAnchorInterface, WriteBuffer, ExportComplete); } else { Debug.Log("This anchor didn't work, trying again"); currentState = ImportExportState.InitialAnchorRequired; }

Here is the stack trace on the error:
SpatialAnchorTransferManager denied access to WorldAnchor serialization 0x00000001414DD7FB (Unity) StackWalker::GetCurrentCallstack 0x00000001414DF4AE (Unity) StackWalker::ShowCallstack 0x00000001414AE583 (Unity) GetStacktrace 0x00000001411B7A7B (Unity) DebugStringToFile 0x00000001411B7EEC (Unity) DebugStringToFile
Which sound similar to this post https://forums.hololens.com/discussion/1549/access-denied-on-world-anchor-export but I have saved already so that can't be it.

Thoughts?

Taqtile

Sign In or Register to comment.