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.
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.