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.
Error in UWP build for Windows Mixed Reality
We are porting our title to UWP (Universal Windows Platform), this is required to build Windows Mixed Reality titles for the Microsoft Store. I’m a Unity developer and I am not skilled in Visual Studio so I’m unsure how to proceed with the errors I’m getting.
I'm using Unity 2017.2.0p2-MRTP5 and Visual Studio 2017 version 15.5.1.
Building with Unity’s IL2CPP scripting backend with .NET 3.5 scripting runtime and API compatibility level set to .NET 4.6 we are able to build from the unity editor and build in Visual Studio without errors. When the title is launched either from visual studio or the .appx file it will play simple scenes, but when loading any of the main levels of our title we get a black screen in the headset and the system freezes up or Visual Studio crashes. The scene will play without errors in the Unity editor or when built for Windows Standalone with support for HTC Vive or Oculus.
I have been able to stop the app before it fully locks up and got this from the output window.
A couple times right before Visual studio has crashed I have seen a message in the output window saying “Out of Memory” so I think it could be a memory leak. When the system froze I got the error message "Cannot Continue Windows cannot continue from this exception." The error was titled "HoloShellApp.exe - EXCEPTION"
I installed the Universal Windows Platform build support in Visual Studio and followed these guides when building the project.
I was running into the missing API issues before I switched to the IL2CPP scripting backend. With that I am no longer getting these build errors.