使用UE5.3打包程序时 报错无法打包,但是程序是可以正常运行的
以下是报错日志
with
[
_T=FHazardPointerCollection::FHazardRecord
]
Total time in Parallel executor: 11.95 seconds
Total execution time: 13.26 seconds
CompilationResultException: Error: OtherCompilationError
at UnrealBuildTool.ActionGraph.ExecuteActionsAsync(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, List`1 TargetDescriptors, ILogger Logger, IActionArtifactCache actionArtifactCache) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\System\ActionGraph.cs:line 417
at UnrealBuildTool.BuildMode.BuildAsync(TargetMakefile[] Makefiles, List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 801
at UnrealBuildTool.BuildMode.BuildAsync(List`1 TargetDescriptors, BuildConfiguration BuildConfiguration, ISourceFileWorkingSet WorkingSet, BuildOptions Options, FileReference WriteOutdatedActionsFile, ILogger Logger, Boolean bSkipPreBuildTargets) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 411
at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
WriteFileIfChanged() wrote 0 changed files of 91 requested writes.
Timeline:
[ 0.000]
[ 0.000](+13.272) <unknown>
[13.272]
以下是控制台报错:
```bash
UATHelper: 打包 (Windows): with
UATHelper: 打包 (Windows): [
UATHelper: 打包 (Windows): _T=FHazardPointerCollection::FHazardRecord
UATHelper: 打包 (Windows): ]
UATHelper: 打包 (Windows): Total time in Parallel executor: 11.95 seconds
UATHelper: 打包 (Windows): Total execution time: 13.26 seconds
UATHelper: 打包 (Windows): Took 13.34s to run dotnet.exe, ExitCode=6
UATHelper: 打包 (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\admin\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+UE_5.3\UBT-UEbdcytcf-Win64-Development.txt)
UATHelper: 打包 (Windows): AutomationTool executed for 0h 0m 15s
UATHelper: 打包 (Windows): AutomationTool exiting with ExitCode=6 (6)
UATHelper: 打包 (Windows): BUILD FAILED
PackagingResults: Error: Unknown Error
```