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.

World Anchor Sharing - Unity

I am trying to follow this guide in order to get my own network code for world anchor sharing in Unity.
I currently have some working codes that can send the data from one hololens to the other. However, the call to
WorldAnchorTransferBatch.ExportAsync(transferBatch, OnExportDataAvailable, OnExportComplete);
generates eight instances of OnExportDataAvailable with bytes array of different sizes (from 4 bytes to more than 400kB). I tried to use each array independantly with
WorldAnchorTransferBatch.ImportAsync(importedData, OnImportComplete);
But the object that is related to the world anchor is not changing position, or at least does not seem to become closer to the position seen from the Hololens sending the anchor.

The unity documentation does not bring much light on this issue
Does anybody have experience with those functions and can help me make sense of the output/input of WorldAnchorTransferBatch?



Best Answer


Sign In or Register to comment.