Hello everyone.

We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.

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.

The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.

On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.

So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. And always feel free to hit us up on Twitter @MxdRealityDev.

Uploading Spatial Anchors to Azure Server using Holotoolkit scripts takes over a minute

I'm trying to use the Holotookit's SharingWorldAnchorManager.cs to upload a world anchor to my server so that I can create a synced experience within the same local space.

I've put this script on the parent object of all our holograms so that the local space within the parent object that is holding the spatial anchor can be synced between devices

When I use SharingService.exe on my local machine, the world anchor byte array is uploaded under 10 seconds, regardless of the byte array size.

Using the Azure server, the spatial anchor uploads quickly when the byte array is < 2mb, but anything over that and the upload takes exponentially longer, sometimes timing out over 5 minutes.

However, one I have an anchor uploaded to the sharing service on Azure, downloading it on other devices is done quickly, also regardless of anchor size.

My internet connection is strong, with an upload speed of around 11Mbps. I'm pretty new to working with servers, is there something I need to configure on the server side or in my code to get my spatial anchor up there more quickly?

I'm happy to post as much information as is needed to help solve the problem.

I've already limited the maximum worldAnchorTransferBatch size to 8mb, and I re-create the anchor if one is made that's any bigger than the maximum size.

Would be happy for any insights.

Answers

Sign In or Register to comment.