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.
Unable to activate Windows Store app after upgrading to Unity 5.5
After upgrading from Unity 5.4 to Unity 5.5, the app is deployed and starts then I get the dialog:
Unable to activate Windows Store app...
In the debug output window, I get the following information:
Module information:
Built with Compiler Ver '190023026'
Built from '5.4/platform/winrt/hololens' branch
Version is '5.4.0f3-HTP (b21dfedb4779)'
Debug build
Application type 'D3D11'
Used 'UWP'
...
PlayerInitEngineNoGraphics settings: Failed to load PlayerSettings (internal index #0).
Most likely data file is corrupted, or built with mismatching
editor and platform support versions.
engineNoGraphicsInitialized
I noticed that the above information mentions version 5.4 and not 5.5. If it's a problem, how do I fix it?
I restarted my computer and the Hololens, and checked if the app was still running (it was not). I also uninstalled and reinstalled Unity 5.5. I did a Clean solution, Rebuild, deleted the OBJ and BIN folders, switched to Release. All of this to no avail.
Any suggestion about how to fix this problem?
Best Answer
-
OptionsMarcDub ✭✭
I finally made it work. I am just surprised that I could not find any mention of that problem before.
First, I had to delete the whole "App" or "WindowsStoreApp" folder created with Unity 5.4. Just deleting the obj and bin folder won't do. Then, I rebuilt the project from within Unity 5.5.
At this point, the problem becomes commons to all new Hololens projects I created with Unity 5.5.
From VS, when trying to build, I got two errors CS006 "Metadata file ...\Assemby-Csharp... could not be found" and a list of "Could not find SDK ...".
I went to the top of the Solution Explorer Window, and open the References folders in the "Assembly-CSharp (Universal Windows)" and "Assembly-CSharp-firstpass (Universal Windows)". In those folders, I deleted all the files that were flagged with a small yellow triangle icon.
Finally, I was left with one error after build "Could not find SDK "WindowsMobile...".
That one, I knew from Unity 5.4 how to correct it (Sorry, I cannot find the reference in this forum). Still in Solution explorer, I went to the References folder of my project, and deleted the file that was flagged with the yellow icon.Finally, after trying to build again, you have to comment the line referring to "StatusBar".
5
Answers
Make sure your app has Microsoft.VCLibs as a reference.
Pass4sure 70-417 exam dumps
I finally made it work. I am just surprised that I could not find any mention of that problem before.
First, I had to delete the whole "App" or "WindowsStoreApp" folder created with Unity 5.4. Just deleting the obj and bin folder won't do. Then, I rebuilt the project from within Unity 5.5.
At this point, the problem becomes commons to all new Hololens projects I created with Unity 5.5.
From VS, when trying to build, I got two errors CS006 "Metadata file ...\Assemby-Csharp... could not be found" and a list of "Could not find SDK ...".
I went to the top of the Solution Explorer Window, and open the References folders in the "Assembly-CSharp (Universal Windows)" and "Assembly-CSharp-firstpass (Universal Windows)". In those folders, I deleted all the files that were flagged with a small yellow triangle icon.
Finally, I was left with one error after build "Could not find SDK "WindowsMobile...".
That one, I knew from Unity 5.4 how to correct it (Sorry, I cannot find the reference in this forum). Still in Solution explorer, I went to the References folder of my project, and deleted the file that was flagged with the yellow icon.
Finally, after trying to build again, you have to comment the line referring to "StatusBar".
@MarcDub What versions of Windows are you using? I only have an option to go to a "Open Download Page", running with Windows 7.
I use Windows 10.0.14393. You can download the new Unity from the link https://store.unity.com/download. It apparently should work with Windows 7.