无法部署到 HoloLens(错误 80004005)

Cannot deploy to HoloLens (error 80004005)

我新安装了 Unity 2018.3.10 和 Visual Studio 2017 (15.9.10)。由于 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") 中的错误,我无法将基本的 3D 统一应用程序部署到 HoloLens。以下是重现步骤:

  1. 确保在 Hololens 上启用了开发者模式。您可以在设置中找到它。

如果还是不行的话...

  1. 尝试重置设备。

重置很烦人,但这是在论坛上针对“由于错误 80004005 而无法在 127.0.0.1 上获得开发人员许可证”找到的解决方案: https://forums.hololens.com/discussion/8964/could-not-obtain-developer-license-for-hololens

将评论粘贴到此处,因为这些论坛将被删除:

"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."

unity论坛中也提到了: 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."