Reputation: 427
I'm trying to deploy an application I built in Unity to the HoloLens 2 by following this tutorial.
Here are the build settings I entered in Unity.
When I go to deploy the application by selecting "Master", "ARM64", "Device" and then "Start without debugging" in Visual Studio I get this error "There were deployment errors. Continue?". If I select yes then I get the below error:
Error 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 - Error HRESULT E_FAIL has been returned from a call to a COM component.
[0x80004005] XamlControlsGallery
I have the Microsoft HoloLens portal open and logged in to the HoloLens, both the laptop and HoloLens are on the same WiFi.
I've tried:
Upvotes: 0
Views: 1410
Reputation: 427
I eventually got this to work by following these steps:
Upvotes: 0
Reputation: 2900
To deploy to HoloLens over Wi-Fi, please select "Remote Machine" instead of "Device" in the deployment target drop-down menu. And then, go to Project > Properties > Configuration Properties > Debugging, and enter the IP address of your device in the Address or Machine Name field, more information please see: Deploying a HoloLens app over Wi-Fi
Upvotes: 0