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

Holograms 101 Spatial Mapping

I am running into an issue in the spatial mapping section of the tutorial. Everything works perfectly fine until I add the spatial mapping asset to the scene. When I run the app, the origami collection appears for a second with no spatial mapping meshes, and then the origami collection disappears. All that is left is the spatial mapping mesh of the environment and the gaze cursor. Does anyone else have the same problem and know of a solution?

I am using Unity 2017.1.1f1.

Best Answer

  • Options
    wanglabwanglab
    Answer ✓

    Resolved.

    Change the Render State setting for the Spatial Mapping Renderer to Visualization.

Answers

  • Options
    james_ashleyjames_ashley ✭✭✭✭

    @wanglab,

    The origami collection is likely falling from it's initial location and falling through the floor before the mesh is completed (that would be my guess). To test this, turn gravity off on your collection and see what happens.

    James

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • Options

    @james_ashley,

    Thanks for the response. The origami collection does not have a rigid body component and thus has no option to turn gravity on or off. Also it did not have this behavior before I added the spatial mapping.

  • Options
    wanglabwanglab
    Answer ✓

    Resolved.

    Change the Render State setting for the Spatial Mapping Renderer to Visualization.

  • Options
    james_ashleyjames_ashley ✭✭✭✭

    Good job.

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

Sign In or Register to comment.