HoloLens Emulator - Spatial Mapping mesh with wireframe not visible

I am stuck in enabling spatial mapping in an app that's under a non-disclosure agreement. Let me make it more generic and apply it to an appropriate example, such as using spatial mapping when I want to place a holographic teddy bear on a couch. Before I put that teddy bear on the couch, I want to see the mesh that wraps the couch.

What I have in Unity is an object called "Spatial Mapping" with these components in the following order: Spatial Mapping Manager, Spatial Mapping Observer, Spatial Mapping Renderer, and Spatial Mapping Collider.

Draw Visual Meshes is checked. I'm using the default parameters the Spatial Mapping Observer component has. The Render State in the Spatial Mapping Renderer component is set to "Visualization" and I am using both the default Occlusion and Wireframe materials for both occlusion and rendering materials respectively. Both the renderer and collider components do not have a surface parent.

What is it I'm missing here? I am a newcomer here, and don't know why I can't see the wireframe in the app I've built on the HoloLens emulator.

Best Answer

  • Accepted Answer

    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

Answers

  • Accepted Answer

    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

  • @GregPDMR69 said:
    I was actually able to figure this out! Apparently, the spatial mesh I was trying to see was under the camera and hologram setups. Silly me!

    Excuse me, may I ask you what setups you had done, please?

Sign In or Register to comment.