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

Problem in the Unity

RenatoBRenatoB
edited April 2016 in Questions And Answers

I'm getting these error messages:

Assets/Holograms/Support/Fitbox/Fitbox.cs(2,22): error CS0234: The type or namespace name WSA' does not exist in the namespaceUnityEngine.VR'. Are you missing an assembly reference?

Assets/Holograms/Support/Spatial Mapping/SpatialMapping.cs(3,22): error CS0234: The type or namespace name WSA' does not exist in the namespaceUnityEngine.VR'. Are you missing an assembly reference?

How to fix it?

Thanks

Best Answer

  • Options
    PatrickPatrick mod
    Answer ✓

    Hi Renato,
    I just downloaded the Zip file and was able to build the Origami project.

    A few things that could trip you up:
    1. In the project build settings in unity (control+shift+b) if the active platform is not 'Windows store' with the build settings applied appropriately. With the default build settings you will get the build error you describe.
    2. You could be launching the normal version of Unity rather than the HoloLens version of Unity. (from Unity, go to help->About and make sure that the -HTP is appended to the version).
    3. Also possible that you downloaded/installed the HoloLens version of unity, but didn't download/install the UWP Runtime support. (see step 2 on this link)
    4. Finally, make sure that Visual Studio Update 2 is applied and the Windows 10 SDK is enabled in Visual Studio.

    hth,

    Patrick

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

Answers

  • Options

    @RenatoB please ensure you have the latest code and latest tools from the Install the tools page.

    What project are you working in?

  • Options

    @neerajwadhwa I'm in the initial part of the tutorial. I downloaded the files from the same link that you posted (https://developer.microsoft.com/en-us/windows/holographic/install_the_tools). I got the files from here: https://github.com/Microsoft/HolographicAcademy/archive/Holograms-101.zip. These error message appeared when I opened the project from the folder "Origami". I'm getting new error messages when I try to build the project.

  • Options
    PatrickPatrick mod
    Answer ✓

    Hi Renato,
    I just downloaded the Zip file and was able to build the Origami project.

    A few things that could trip you up:
    1. In the project build settings in unity (control+shift+b) if the active platform is not 'Windows store' with the build settings applied appropriately. With the default build settings you will get the build error you describe.
    2. You could be launching the normal version of Unity rather than the HoloLens version of Unity. (from Unity, go to help->About and make sure that the -HTP is appended to the version).
    3. Also possible that you downloaded/installed the HoloLens version of unity, but didn't download/install the UWP Runtime support. (see step 2 on this link)
    4. Finally, make sure that Visual Studio Update 2 is applied and the Windows 10 SDK is enabled in Visual Studio.

    hth,

    Patrick

    ===
    This post provided as-is with no warranties and confers no rights. Using information provided is done at own risk.

    (Daddy, what does 'now formatting drive C:' mean?)

Sign In or Register to comment.