There are some great resources for developing for HoloLens with Unity available on the Windows Developer Center. I recommend exploring the documentation as a whole but here are must-see topics:
Hey, i tried installing the whole rig following the âInstall the toolsâ link; i am facing issues in the emulator installation steps, the installer stops in the middle of the installation and generates several log files, i am uploading them here.
I should mention that my OS is Windows 10 Home edition, i know that the overall requirement stated in the tools page is Professional, Enterprise or Education edition. Is this the reason why the installation is crashing?
Can i at least do some error free tinkering in the provided unity stack without the emulator installation? It will be sometimes before i upgrade my windows, i wanted to get started with unity before that, specially with the 101E tutorial, i am running into several errors while i am trying to follow the tutorials which i mentioned here.
We donât support the emulator because it is a Microsoft product, I would recommend posting on the Microsoft Developer forums for further support with this product.
You may see an error while installing the emulator that you need "Visual Studio 2015 Update 1 and UWP tools version
There are two possible causes of this error:
1- You do not have Visual Studio 2015 Update 1 or later. Follow the instructions above to install the latest version, Visual Studio 2015 Update 2.
2- You have Visual Studio 2015 Update 1 or later, but you do not have the Universal Windows Platform (UWP) tools installed. This is an optional feature for Visual Studio. You can add this feature by modifying your Visual Studio installation in Programs and Features.
The HoloLens Emulator is only supported in Windows 10 Professional Insider build 14295. You can still build and run of the real HoloLens device, using any version of Windows 10. Your PC BIOS must support Hyper-V Virtual OS support, to run the HoloLens Emulator and will get fatal errors trying to install, or configure Visual Studio 2015 Update 2,with the HoloLens Emulator without Hyper-V switched on.
I have the emulator up and running, however SpacialPerception and Windows Holographic are not showing up in the editor. Any idea why?
Iâm also getting these errors:
âFailed to find:m_HolographicPauseonTrackingLossUnityEditor.PlayerSettingsEditor.OnEnable()â
âFailed to find: m_HolographicPauseonTrackingLossScreenUnityEditor.PlayerSettingsEditor.OnEnable()â
Looking at the screen shot you donât have the proper SDK installed. You need to have Metro Support installed on your machine in order to have Windows Holographic. It is located on the technical preview site for HoloLens, follow the steps for installing the build. Without that specific SDK the emulator and device will only show a default application.
Hi,
I have downloaded unity 5.4 from Unity development for HoloLens - Mixed Reality | Microsoft Learn - the 64 bit version on windows 10. But the option of Windows Holographic is not present. Instead the available values it shows on click of plus sign are : oculus , stereo display , split stereo display , openvr and none. What could be the reason and with this empty list wouldnât I be able to test on emulator? Kindly help. Thank you.
If you are seeing a similar issues of not being able to see the windows holographic SDK, it is because you have not installed the UWP runtime. Without that UWP/Metro runtime you wonât have the proper dllâs needed to build for Windows Applications.
Hi, guys. Thanks for all the replies. Now, with Unityâs HoloLens Technical Preview going to f3 it seems theyâve updated this page where you marked the metro support yellow. There is no more additional stuff, just a single download assistant (see the attached image).
I installed this new Unity 5.4.0f3 and tried building the Origami app. However it gives me the following error:
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:195) UnityEditor.Scripting.Compilers.MicrosoftCSharpCompiler.StartCompiler () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/MicrosoftCSharpCompiler.cs:314) UnityEditor.Scripting.Compilers.ScriptCompilerBase.BeginCompiling () (at C:/buildslave/unity/build/Editor/Mono/Scripting/Compilers/ScriptCompilerBase.cs:47) UnityEditor.HostView:OnGUI()
Do I need and if yes where do I obtain this UAP SDK?
HoloLens beginner here. Seems like I missed something. When I build my HoloLens project (following these steps) and try to open it in Visual Studio 2017, I get the following error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the âMigration Reportâ displayed after clicking OK.
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
myproject, âD:\myproject\App\myproject.slnâ
The UpgradeLog.htm just tells me
The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=A5A43C5B-DE2A-4C0C-9213-0A381AF9435A
Following this message box, I get another one, saying
The âMicrosoft.VisualStudio.Web.Project.WebProjectPackage, Microsoft.VisualStudio.Web.Projectâ package did not load correctly.
The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by examining the file âC:\Users\me\AppData\Roaming\Microsoft\VisualStudio\15.0_1fddedc3\ActivityLog.xmlâ.
Restarting Visual Studio could help resolve the issue.
Needless to say, the latter hint does not fix it.
I just reinstalled the Windows 10 SDK with all options checked. Any ideas what might be missing or what I can do to figure out whatâs the actual issue?
[quote=âiko79, post:16, topic: 622402, username:iko79â]
No changes required
These projects can be opened in Visual Studio 2015, Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
myproject, âD:\myproject\App\myproject.slnâ
[/quote]Have you tried opening your project with Visual Studio 2015?
Yes. There it said in a message box with title âReview Solution Actionsâ: âVisual Studio update required. One or more projects are targeting the Windows 10 Creators Update platform which requires a newer version of Visual Studio. Learn how to upgrade to 15.0.25909.2.â, where a hyperlink is supposed to take me to some online article, but Iâm just forwarded to Visual Studio: IDE und Code-Editor fĂźr Softwareentwickler und -teams. Itâs ridiculous how these MSFT links never work.
Itâs VS Professional 2015, Version 14.0.25431.01 Update 3 with .NET Framework 4.7.02523.
In the solution explorer, next to each of the projects (Assemply-CSharp, Assembly-CSharp-firstpass, as well as myproject) it says âupdate requiredâ in parantheses.
On the Build Settings window for Universal Windows Platform, what options are available to you in the drop-down for âSDKâ? Are you able to try 10.0.14393.0?
Donât have that particular one available, but youâre right, not using the âLatest installedâ option for UWP SDK did the trick â with 10.0.10586.0 it is now working with VS 2015, thus without upgrading the project to 2017. I was under the assumption that VS 2017 is needed as it is also used in the youtube tutorials all the time. Thanks so much! What the actual problem with VS 2017 is, however, remains a mystery to me.