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

Delay Spatial Observer

I am trying to delay the spatial observer without success. I am using the Unity HoloToolkit. I have modified the script to require a voice command to start observing. The voice command works but the spatial observer doesn't take find the spatial mesh. If I run this all at Start() it works fine but if it is delayed then it does not. I am assuming there is a background process that updates tells the mesh it has been updated the first update loop or something but can't seem to figure it out.

Answers

  • Options

    @Adamcbrz,
    Can you post a snippet of how you are delaying/starting the observer? That may help pinpoint the issue. Also, are you using the SpatialMapping prefab from the HoloToolkit?

    Thanks!
    David

  • Options

    I am using the HoloToolkit with some modifications. I added a bool to the Start method for to prevent it from starting the

    I added a bool and some debug logs to the SpatialMappingManager.

    Then use the keyword manager to call the Start and Stop observer methods

    I am happy to share the code but these was not as long winded to explain.

  • Options

    Hi @Adamcbrz,
    Since SpatialMappingManager is a Singleton, try getting your keyword recognizer to call SpatialMappingManager.Instance.StartObserver.

  • Options

    Hi @Adamcbrz
    I am facing the same problem as you. May I know how did you fix that eventually?

Sign In or Register to comment.