user2921584
user2921584

Reputation: 73

Cannot deploy to HoloLens (error 80004005)

I have freshly installed Unity 2018.3.10 with Visual Studio 2017 (15.9.10). I cannot deploy a bare-bones 3D unity application to HoloLens due to an error in Visual Studio ("DEP0100: Please ensure that target device has developer mode enabled. Could not obtain a developer license on 127.0.0.1 due to error 80004005"). Here are the steps to reproduce:

screenshots

Upvotes: 2

Views: 1299

Answers (1)

ickydime
ickydime

Reputation: 1071

  1. Make sure Developer mode is enabled on the Hololens. You can find this in settings.

If that doesn't work then...

  1. Try reseting the device.

Reseting is annoying but that is the solution found for 'Could not obtain a developer license on 127.0.0.1 due to error 80004005'on the forums: https://forums.hololens.com/discussion/8964/could-not-obtain-developer-license-for-hololens

Pasting the comment here as those forums will be removed:

"shyykoserhiy ✭ November 2017 I've had the same issue. Tried to run from two different setups: MacBook Pro 2016 with touch bar (windows 10 Pro in Bootcamp) and Surface Pro 4. Same error on two different machines. So I've though that it might be a problem with the HoloLens itself. After Resetting the HoloLens from Settings> Update and Security> Reset everything started to work just fine. This is the only solution that've worked for me."

It is also mentioned in the unity forums: https://forum.unity.com/threads/could-not-obtain-developer-license-for-hololens.500808/

"billyjacobs So I did some searching and found that one way to solve the problem is to reset your hololens device. It will have the latest version of the device software after you reset it. I was hesitant against doing this at first but it worked like a charm."

Upvotes: 5

Related Questions