Hololens 2 + Unreal Packaging fails just on device

1.2k Views Asked by At

I have created a minimal Unreal project using the starter content. I have generated signing certificates, and successfully packaged and run the project on the Hololens 2 emulator.

However, when I try to package the same project for my device, I get a the following failure:

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

How can I not have the required compiler toolchain on the device, but it succeeds in the emulator? What steps do I take to get around this?

0

There are 0 best solutions below