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.
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.