Microsoft HoloLens Spatial Mapping - Wireframe Mesh not visible in Emulator
I have the same question as this post I made earlier in the Windows Mixed Reality Developers Forum.
I'm adding spatial mapping to a project that's under a non-disclosure agreement. A more generic example is when I want to use spatial mapping to "place" a holographic teddy bear on a couch.
In the editor, I have a game 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? ,This is basically the same question as the one I posted here in the Windows Mixed Reality Developers Forum.
I an adding spatial mapping to a project that's under a non-disclosure agreement; a more generic example is rendering a spatial map to place a holographic teddy bear on a couch. For some reason, even after doing some research online and using some of the tutorial resources as guides to experiment, I still don't see the rendered spatial meshes as a wireframe when I build the app and deploy it to the HoloLens Emulator.
In the Editor, I have a game 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?
Answer by UltraSENRON · Jun 04, 2018 at 12:27 PM
I have the same problem. Would anyone give us the answer, please?
Your answer
![](https://koobas.hobune.stream/wayback/20220612155423im_/https://answers.unity.com/themes/thub/images/avi.jpg)