unreal-engine4 - 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
我怎么能在设备上没有所需的编译器工具链,但它在模拟器中成功?我应该采取什么措施来解决这个问题?
解决方案
推荐阅读
- html - 图像上的 1px 边框在图像的顶部和右侧留下奇怪的白色间隙
- javascript - 模拟 Google/IDP 身份验证引发跨域帧错误
- amazon-web-services - Cloudfront 无法访问部署在 EBS 上的 Spring Boot 上的安全端点
- gcc - AERMOD 安装错误,使用自制软件和 gfortran
- facebook - web google auth 在 facebook 浏览器和 Messenger 中不起作用
- postgresql - 如何从云运行中的容器连接到 gcloud postgres db
- haskell - 如何使用镜头实现 unsafePartsOf
- php - 我的数据库只能添加一个订单信息
- javascript - 当数据值为 0 时,Django Chartjs 输出“无数据”
- javascript - React Redux:无法读取未定义的属性“道具”