Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Question Issues with app deploying to HoloLens

Discussion in 'AR' started by CraigBreenHogg3D, Mar 23, 2023.

  1. CraigBreenHogg3D


    Sep 7, 2022
    Hey there, I am currently developing my first app for HoloLens and am having issues building it and deploying it to my HL2 for two reasons.

    The first is this error when deploying via visual studio:
    DEP6957: Failed to connect to device '' using Universal Authentication. Please verify the correct remote authentication mode is specified in the project debug settings. COMException - An existing connection was forcibly closed by the remote host. (Exception from HRESULT: 0x80072746) [0x80072746]

    The second issue is that when it does build my application crashes around 9-10 seconds into using the app. There is no major reason why it should be crashing as it is not a majorly complex application which only contains one main model, two buttons and 4 scripts.

    I have already tried taking some of the scripts out and it doesn't seem to change the crashing of the app and I double-checked the model and it does not exceed the recommended poly limit for HoloLens.

    Any help would be appreciated!
  2. andyb-unity


    Unity Technologies

    Feb 10, 2022
    CraigBreenHogg3D likes this.