首页 > 解决方案 > Hololens 2 + Unreal Packaging 仅在设备上失败

问题描述

我使用入门内容创建了一个最小的虚幻项目。我已经生成了签名证书,并在 Hololens 2 模拟器上成功打包并运行了该项目。

但是,当我尝试为我的设备打包相同的项目时,出现以下故障:

UATHelper: Packaging (HoloLens):   Using ARM64 architecture for deploying to HoloLens device
UATHelper: Packaging (HoloLens):   ERROR: No required compiler toolchain found in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110
PackagingResults: Error: No required compiler toolchain found in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110
UATHelper: Packaging (HoloLens): Took 1.0359999s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (HoloLens): UnrealBuildTool failed. See log for more details. (C:\Users\Administrator\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.25\UBT-HololensTrial-HoloLens-Development.txt)
UATHelper: Packaging (HoloLens): AutomationTool exiting with ExitCode=6 (6)
UATHelper: Packaging (HoloLens): BUILD FAILED
PackagingResults: Error: Unknown Error

我怎么能在设备上没有所需的编译器工具链,但它在模拟器中成功?我应该采取什么措施来解决这个问题?

标签: unreal-engine4hololenshololens-emulator

解决方案


推荐阅读