我正在尝试使用 Unity 通过 USB 将 Hololens 1 应用程序部署和运行到设备。
我遵循本教程(以及之前在 YouTube 上的更多内容): https ://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/tutorials/mr-learning-base-02?tabs= openxr
我什至尝试使用两种不同的 Hololens 1 设备!(但我只用了一根电缆)
统一版本:2020.3.13f1
当我将 Hololens 插入 PC 时,我听到有东西连接时的窗口声音(但连接后看不到 Hololens 的存储)并且 Hololens 正在充电。
我在 windows 和 Hololens 上处于开发者模式。我将 Hololens 与 Visual Studio 中的正确 pin 码配对。
输出:
Creating a new clean layout...
Copying files: Total 75 mb to layout...
Checking whether required frameworks are installed...
Registering the application to run from layout...
RemoteCommandException: AppxManifest.xml(43,6): error 0x80070002: Cannot map the gazeinput well-known device name to a device interface GUID for the Template3D_1.0.0.0_x86__pzq3xp76mxafg package. Check that the device name is correct.
0x80070002
DEP0700: Registration of the app failed. [0x80004005] Failed to register through new deployment pipeline.
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
DEP6953: Failed to launch remote debugger with the following error: 'Command failed: 0x80270254'.
我不知道接下来要尝试什么。我不明白错误以及来自哪里。我认为它可能由于某种原因 Windows 无法发送到设备或进入设备的存储。
谢谢!