MRTK (V2.5) always fails to deploy to Hololens 2 using the Build Window

363 views Asked by At

I'm using Unity 2019.4.11 and building to Hololens 2 over USB via the MRTK Build Window. Everything seems fine until the point of install where I get a message about the wrong architecture. It seems like it is trying to deploy to my PC instead of the device which is why it bails due to architecture (ARM64 when it thinks it should be x64). Why is my device not being properly targeted?

enter image description here

Here are my build settings:

enter image description here

enter image description here

And here is the error:

enter image description here

1

There are 1 answers

1
Mathias On

Have you tried deploying from the Device Portal (if connected by USB try 127.0.0.1:10080 in a browser) or through Visual Studio by clicking the "Open in Visual Studio" button and choose "Device" instead of "Remote Machine" then Build->Deploy?

I have never gotten deployment to work through Unity and have always just used a WiFi connection and deploying through either Device Portal or Visual Studio.