We have decided to phase out the Mixed Reality Forums over the next few months in favor of other ways to connect with us.
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.
The plan between now and the beginning of May is to clean up old, unanswered questions that are no longer relevant. The forums will remain open and usable.
On May 1st we will be locking the forums to new posts and replies. They will remain available for another three months for the purposes of searching them, and then they will be closed altogether on August 1st.
So, where does that leave our awesome community to ask questions? Well, there are a few places we want to engage with you. 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. 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.