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

WorldAnchorTransferBatch.ExportAsync returns empty blob

NikTNikT
edited June 2017 in Questions And Answers

WorldAnchorTransferBatch.ExportAsync seems to return empty binary blob after completion if around 50% of the times. If I try to run it again, it usually works (might take few tries). There does not seem to be any correlation between ExportAsync failing and initial conditions.

This issue seem to be known before. In the Holograms 240 tutorial that was released over a year ago, they have a check for a minimum result size. This is the piece of code that checks for the file size in the tutorial:

///

/// Sometimes we'll see a really small anchor blob get generated. /// These tend to not work, so we have a minimum trustable size. ///

const uint minTrustworthySerializedAnchorDataSize = 100000;
...
public void ExportComplete(SerializationCompletionReason status)
{
if (status == SerializationCompletionReason.Succeeded && exportingAnchorBytes.Count > minTrustworthySerializedAnchorDataSize)
...

Is there a known fix/workaround? Or does anyone know exact reason why this happens?

Tagged:

Best Answer

Answers

  • Options
    ReeleyReeley ✭✭✭

    Hmm thats interesting i also have problems with the export of worldanchors, sometimes it works sometimes it doesnt. But i never really dived into why this is happening^^

Sign In or Register to comment.