I recently downloaded the Cesium for Unreal VRTutorial project from the Unreal Marketplace and attempted to package the project for Windows (Platform → Windows). Unfortunately, the packaging process failed, and I received the following error:
UATHelper: Packaging (Windows): Took 3.7841472s to run UnrealBuildTool.exe, ExitCode=6
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\XXX\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.0\UBT-CesiumforUnrealVRTutorial-Win64-Development.txt)
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 6s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)
I checked the log file for more details, but I’m not sure how to interpret the errors. Could someone help me troubleshoot this issue?
The project works well in the Unreal Engine editor, but I encounter an error when trying to package it.
Error Details
During the packaging process, I receive the following error in the log:
error C2440: '<function-style-cast>': cannot convert from 'const From *' to 'TStringConversion<TStringConvert<From,To>,128>'
D:\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: 'TStringConversion<TStringConvert<From,To>,128>::TStringConversion': no overloaded function could convert all the argument types
Here’s a snippet from the log:
D:\UE_5.0\Engine\Source\Runtime\Core\Public\Containers\StringConv.h(1048): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or parenthesized function-style cast
CompilationResultException: Error: OtherCompilationError