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

Beginner problems

Hi, friends of MS. i'm a developer with 5 years working experiences, of course not windows but android. since the development tools released in https://developer.microsoft.com/en-us/windows/holographic/install_the_tools, then i finally begin to study hololens development. but i'm stuck in first step which is installing the tools.
the OS running on my PC is win10 which is up to date, the tools is installed successfully, but things goes wrong when i'm trying to build galaxy explorer to an UWP project, here is some error loged:
Could not start compilationException: 'UnionMetadata\Facade\Windows.winmd' not found, do you have Windows UAP SDK installed?
UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.FillNETCoreCompilerOptions (WSASDK wsaSDK, System.Collections.Generic.List`1 arguments, System.String& argsPrefix) (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:170)
UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.StartCompiler () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:289)
UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47)
UnityEditor.HostView:OnGUI()
but i followed the introduction step by step: "If you choose a custom install, ensure that Tools (1.2) and Windows 10 SDK (10.0.10586) is enabled under Universal Windows App Development Tools node." and i have tried to install vs 2015 update2 both in normal install and custom install with tool 1.3 and win10 sdk enabled. the unity still can't build the project and output the error in the same.
To solve this problem, i had reinstall and uninstall these tools twice, but still not working, so i hope you guys to help me, and i think there may be others like me being stuck in first step. it would be great if you publish this first step course into the academy.
Thank you!

Best Answer

Answers

  • Options

    And i can't find the hololens emulator option in visual studio 2015 except that.

  • Options
    james_ashleyjames_ashley ✭✭✭✭
    @xinyan,

    1. which version of windows 10 are you running? do you have windows 10 pro?

    2. have you been able to run the tutorial code from either the 100 or 200 level tutorials?

    James Ashley
    VS 2017 v5.3.3, Unity 2017.3.0f3, MRTK 2017.1.2, W10 17063
    Microsoft MVP, Freelance HoloLens/MR Developer
    www.imaginativeuniversal.com

  • Options

    @james_ashley said:My win 10 version is profession, and i haven't practice the tutorials, so i will run the tutorials code now, and see whether it works.


    1. which version of windows 10 are you running? do you have windows 10 pro?

    2. have you been able to run the tutorial code from either the 100 or 200 level tutorials?

  • Options

    @james_ashley said:I just tried project HolographicAcademy-Holograms-210-Gaze, but still the compile error, can't find Windows UAP SDK!!
    @xinyan,

    1. which version of windows 10 are you running? do you have windows 10 pro?

    2. have you been able to run the tutorial code from either the 100 or 200 level tutorials?

  • Options

    @james_ashley said: Before the tool released, i installed visual studio 2015 update1 and unity5.3, the build is OK. is there any way to fix this?


    1. which version of windows 10 are you running? do you have windows 10 pro?

    2. have you been able to run the tutorial code from either the 100 or 200 level tutorials?

  • Options

    @Russell said:Thank you everyone, i have reinstalled the OS with the latest win10 package, and i remembered there have some updates can't apply into windows when i'm installing the vs2015 and the emulator, so i think that must be the problem. and now, everything works fine with all new installation and i finally can focus on the developing now.
    Hi xinyan,

    This may be a Unity problem or a SDK problem. I believe this error may occur if you don't have the UWP Runtime installed along with the Unity Editor. Let's first start looking at it from the Unity side:
    1. Did you install the Unity 5.4 HoloLens Technical Preview Editor from https://unity3d.com/pages/windows/hololens?

    1. Did you also install the UWP Runtime from https://unity3d.com/pages/windows/hololens?

    After confirming these are both installed/installing them, please try again.

    If you don't see any progress from the Unity side:
    1. What folders do you see in C:\Program Files (x86)\Windows Kits\10\Platforms\UAP?

    1. Are there any files in C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade?

    2. If you open **Programs and Features **on your PC and search for "Windows Software Development Kit", what are the names of the matching installs?

    Thanks,
    Russell

Sign In or Register to comment.