This is a MixedRealityToolkit style repository for code bits and components that may not run directly on Microsoft HoloLens or immersive headsets but instead pair with them to build experiences.
MIT License
596
stars
288
forks
source link
Compositor wont connect to SpectatorViewPoseProvider app on the HoloLens #290
When I launch the Sample project in Unity and click play I get a camera feed but there are no holograms. No errors or warnings either, but when I click the Request Spatial Mapping button from the compositor window I get a warning that says "Spatial mapping message was not sent". I opened the UnityCompositorInterface.cpp from Compositor > UnityCompositorInterface project to see what the RequestSpatialMapping function does. It returns false if the connectedToServer bool is false. So I made a function that returns the connectedToServer bool, and I saw that connectedToServer is false. So that means that the compositor isn't connecting to the SpectatorViewPoseProvider app on the HoloLens. I'm not sure why this is happening.
Here's the console log from Unity
SharingToSVAdapter
I've done the network setup so I'm pretty sure that's not the problem
When I launch the Sample project in Unity and click play I get a camera feed but there are no holograms. No errors or warnings either, but when I click the Request Spatial Mapping button from the compositor window I get a warning that says "Spatial mapping message was not sent". I opened the UnityCompositorInterface.cpp from Compositor > UnityCompositorInterface project to see what the RequestSpatialMapping function does. It returns false if the connectedToServer bool is false. So I made a function that returns the connectedToServer bool, and I saw that connectedToServer is false. So that means that the compositor isn't connecting to the SpectatorViewPoseProvider app on the HoloLens. I'm not sure why this is happening.
Here's the console log from Unity
SharingToSVAdapter
I've done the network setup so I'm pretty sure that's not the problem