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

Debug HoloLens app from Visual Studio, emulator runs but shows default room, and VS crashes.

StuartStuart
edited October 2018 in Questions And Answers

Title says it all.

I have an AR test app which I've made in Unity and built to open in VS.

When I run it from VS in debug mode, the build output in VS shows this:

1>------ Build started: Project: HoloLens, Configuration: Debug x86 ------
1> HoloLens -> G:\Unity\HoloLens\App\HoloLens\bin\x86\Debug\HoloLens.exe
1> UnityWSAPlayerDir "D:\Program Files (x86)\Unity\Editor\Data\PlaybackEngines\MetroSupport\".
1> UnityProjectDir "G:\Unity\HoloLens\".
1> Copying unprocessed assemblies...
1> Running AssemblyConverter...
1> AssemblyConverter done.
1> Modifying AppxPackagePayload
2>------ Deploy started: Project: HoloLens, Configuration: Debug x86 ------

and that's all the information I get. It then opens the emulator, VS tells me the app is deploying, then 30 seconds later VS crashes and automatically restarts, leaving the emulator open in the default environment.

I've tried all sorts of debug options: Master, Release, Debug, 'Run but do not debug', and 'Uninstall and then re-install my package' in the debug options for the project. Always the same problem arises.

Is this a known issue? Or have I missed something somewhere?

I'm using the latest VS2017 and latest Unity (the version recommended for working with HoloLens).

Thanks.

Sign In or Register to comment.