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

Spatial Mapping Doesn't Work when running on Target Hardware Holographic

When building out a Holographic application in Unity 3D and deploying it to the Hololens Simulator, if I follow what the documentation suggests as best practice and change the Package app manifest property of the target platform from Windows.Universal to Windows.Holographic then Spatial Mapping no longer works. I am not sure if this is an issue with deploying to just the simulator and that it works correctly on devices, but I would like to know if anyone else has run across this issue, or if I am doing something incorrectly. Thanks!

Comments

  • Options
    RussellRussell
    edited April 2016

    Hi okhan80,

    I just tested and it looks like this is occurring on both device and emulator.

    For now, the simplest mitigation seems to be updating the MaxVersionTested field to be 10.0.10586.0 instead of 10.0.10240.0.

    Doesn't work:
    MaxVersionTested="10.0.10240.0"

    Works:
    MaxVersionTested="10.0.10586.0"

    Thanks,
    Russell

  • Options

    @okhan80, Also be sure that the Spatial Perception capability is set in your application's manifest.

    You can do this either in the package.appmanifest file, or in Unity by selecting the SpatialPerception checkbox in the Player Settings.

    Set SpatialPerception capability in the package.appmanifiest file

    Set SpatialPerception capability in Unity

    Thanks,
    David

Sign In or Register to comment.