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

Sharing, anchors and remoting

Unity: 2018.2.0f2
HoloToolkit: 2017.4.2.0

Due to processing needs, we have to execute our app in a PC and connect to Hololens using remoting.

In a light version of the project, we tested the sharing system that work properly using 2 hololens.

The problem is that when we move to remoting version of the project, anchors are not shared. Sharing and messages work, they are sent and received, but world is not correctly aligned because of the problem with sharing anchors.

Diving int the code, there is an async call that never resolves:

[WorldAnchorManager.cs]
protected virtual void Start()
{
WorldAnchorStore.GetAsync(AnchorStoreReady);
}
We guess this is not supported on remoting, nor on UnityEditor.

Is there a workaround? Any other way to share anchors and align world coordinates in remoting + hololens?

Thank you

Answers

  • Options

    Microsoft response:

    Indeed, as you comment, the use of Anchors is not compatible when remoting is being used, as discussed here: https://github.com/Microsoft/MixedRealityToolkit-Unity/issues/274#issuecomment-254274307. Two comments below is proposed to calculate the anchors from the origin, without using the Anchors itself - I have sincerely never tried this method, but it would be rewriting the functionality of Anchors. What is perhaps strange is that the async function does not end correctly.

    What do you understad by "calculate the anchors from the origin"?

Sign In or Register to comment.