无法部署到HoloLens(错误80004005) [英] Cannot deploy to HoloLens (error 80004005)

查看:260
本文介绍了无法部署到HoloLens(错误80004005)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我新安装了Visual Studio 2017(15.9.10)的Unity 2018.3.10.由于Visual Studio中的错误,我无法将准系统3D统一应用程序部署到HoloLens("DEP0100:请确保目标设备已启用开发人员模式.由于错误80004005",无法在127.0.0.1上获得开发人员许可证).复制步骤如下:

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:

  • 在Unity中创建新的3D场景.将相机位置设置为0,0,0,并将相机透明色设置为纯黑色.在镜头前创建一个尺寸为0.1x0.1x0.1的红色立方体

  • Create new 3D scene in Unity. Set camera position to 0,0,0 and camera clear color to solid black. Create a red cube in front of the camera with dimensions 0.1x0.1x0.1

窗口/包管理器:删除广告,Analytics库,在应用程序购买中,TextMesh Pro,Unity Collaborate,因为我不需要这些

Window / Package Manager : remove Ads, Analytics Library, In App Purchasing, TextMesh Pro, Unity Collaborate, because I don't need these

构建设置和项目设置(质量和播放器设置).脚本后端= IL2CPP

Build settings and Project Settings (Quality and Player Settings) shown in screenshots. Scripting backend = IL2CPP

  • Unity成功生成一个.sln文件
  • HoloLens的操作系统版本为10.0.17763.316.在设置/更新和设置"下安全性/对于开发人员,我将使用开发人员功能" = on,启用设备门户" = on

  • Unity successfully generates a .sln file
  • The HoloLens has OS build 10.0.17763.316 . Under Settings/Update & Security / For developers , I set 'Use developer features'=on, 'Enable Device Portal'=on

我不知道是否有必要,但是在我的PC上,我还会执行设置/更新&安全性/对于开发人员,选择开发人员模式",启用设备门户" =开启,设备发现" =开启

I don't know if it's necessary, but on my PC, I also do Settings/Update & Security/For developers, select 'Developer mode', 'Enable Device Portal'=on, 'Device discovery'=on

推荐答案

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

如果那不起作用,那么...

If that doesn't work then...

  1. 尝试重置设备.

重置很烦人,但这是在论坛上找到的由于错误80004005而无法在127.0.0.1上获得开发者许可证"的解决方案: https://forums.hololens.com/discussion/8964/无法获得开发者的Hololens许可

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 2017 2017年11月,我遇到了同样的问题.试图运行 来自两种不同的设置:带有触摸条的MacBook Pro 2016(Windows 10 Pro在Bootcamp中)和Surface Pro4.在两个不同的地方存在相同的错误 机器.所以我虽然认为这可能是HoloLens的问题 本身.从设置>更新和重置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."

在统一论坛中也提到过: https://forum.unity.com/线程/无法获取Hololens.500808的开发人员许可.

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

"billyjacobs所以我做了一些搜索,发现一种解决方法 问题是重置您的hololens设备.它将有最新的 重置后的设备软件版本.我很犹豫 刚开始时反对这样做,但它像一种魅力."

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

这篇关于无法部署到HoloLens(错误80004005)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆