Search Unity

Question Issues with app deploying to HoloLens

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

  1. CraigBreenHogg3D

    CraigBreenHogg3D

    Joined:
    Sep 7, 2022
    Posts:
    8
    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 '127.0.0.1' 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

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    CraigBreenHogg3D likes this.