Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

“Error DEP6957 Failed to connect to device using Universal Authentication” when deploying Unity app

Discussion in 'Windows' started by otto_mejia, Feb 28, 2019.

  1. otto_mejia

    otto_mejia

    Joined:
    Feb 18, 2019
    Posts:
    4
    Hi all,
    I've been working in a Unity app with Hololens emulator in Visual Studio 2017 in Windows Pro, and it was working great until last night where I started to get the following issue every time that I try to deploy my application into the Hololens emulator:

    Error DEP6957 : Failed to connect to device '[device_ip]' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings.

    I've tried to do the following things without success:
    • Clean/rebuild solution
    • Checked 'uninstall/install' checkbox in the UWP project settings
    • Deleted Hololens virtual machine
    • Uncheck/check Hyper-v feature (and restart PC after each try)
    • Restarted computer
    No luck. Sometimes, I am able to make it work, but after 30 seconds to 1 minute, the hololens emulator gets frozen and then it closes itself; again, this was working fine until last night, and I have not installed anything different, unless an automatic windows update did something. This happens with all the applications, and they run just fine in the Unity player.

    I would appreciate your help on this, I just don't think the only solution is to uninstall/install Visual studio and all its components, it makes no sense, since everything was ok.

    Thank you.
     
  2. houssamkad1

    houssamkad1

    Joined:
    Feb 19, 2021
    Posts:
    1
    Please go into the HoloLens emulator settings and checked these 2 settings are enabled (they should be for emulator, however, they aren't for a brand new HoloLens1/2):
    1- developer mode
    2- device portal

    upload_2021-4-18_23-44-49.png