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.
Deploy to emulator fails with DEP6957 erorr (first time)
I was noticing a pattern that the first time Visual Studio was launching my emulator it would consistently fail to deploy and would show the following error:
Severity Code Description Project File Line Suppression State Error DEP6957 : Failed to connect to device '169.---.---.--' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. 0x8007274C: The network event being waited on triggered an error.
After it failed once, it would then run successfully on the second try.
However, further attempts to run it (3rd, 4th, etc.. ) would fail.
I was finding myself going through the slow and painful cycle of closing down the emulator, deploying to the emulator and waiting for it to load then fail, deploying again for a single successful run, then repeating the process after every change.
Finding this frustrating I eventually recalled a suggestion that @jboulanger made to me in another post to set a Debug flag in the projects properties pane that would uninstall previous deployment. It helped with my problem with the 2D apps.
Sure enough it seems to also help with Unity 3D apps to avoid this vicious cycle.
When the emulator first loads the first deployment still fails for me, but deployments to the already loaded emulator seem to have a much better success rate when the "Uninstall and then re-install my package. All information about the application state is deleted." checkbox is check in the project properties debug pane.