CompilationResultException: Error: OtherCompilationError

Hey guys, i’m trynig to package my recently-converted project (from 4.26 to 5.3) and I’m unable to do it. The error logs doesn’t seem to help at all and I’m on the dark here on what could be the problem.

The end output log always shows an exception below:

[94/103] Resource Default.rc2
[95/103] Compile [x64] LowEntryByteDataReader.gen.cpp
[96/103] Compile [x64] ELowEntryExtendedStandardLibrary0to9.gen.cpp
[97/103] Compile [x64] LowEntryLatentActionInteger.cpp
[98/103] Compile [x64] LowEntryLong.gen.cpp
[99/103] Compile [x64] KalyskahGameInstance.gen.cpp
[100/103] Compile [x64] LowEntryBitDataEntry.gen.cpp
[101/103] Compile [x64] LowEntryByteDataWriter.cpp
Total time in Parallel executor: 63.57 seconds
Total execution time: 110.49 seconds
CompilationResultException: Error: OtherCompilationError
   at UnrealBuildTool.ActionGraph.ExecuteActionsAsync(BuildConfiguration BuildConfiguration, List`1 ActionsToExecute, List`1 TargetDescriptors, ILogger Logger, IActionArtifactCache actionArtifactCache) in H:\Epic Games\UE_5.3\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 H:\Epic Games\UE_5.3\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 H:\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 411
   at UnrealBuildTool.BuildMode.ExecuteAsync(CommandLineArguments Arguments, ILogger Logger) in H:\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\Modes\BuildMode.cs:line 252
   at UnrealBuildTool.UnrealBuildTool.Main(String[] ArgumentsArray) in H:\Epic Games\UE_5.3\Engine\Source\Programs\UnrealBuildTool\UnrealBuildTool.cs:line 659
WriteFileIfChanged() wrote 218 changed files of 218 requested writes.

I have the exact same error and stack trace, when using the UBT to make an installed build. Has anyone found a fix?

2 Likes

Same track trace building the Unreal Engine Oculus fork

I have the same error too … did anyone find some solution?

I had the same issue when trying to package my game, but I fixed it. I switched my solution configuration to shipping in Visual Studio then tried to build. Doing so gave me some actually useful error messages. In my case, I had neglected to wrap some code in #If WITH_EDITOR tags. There were also some problems with includes.

After that I switched back to my usual DebugGameEditor configuration and then packaged the game in the editor as normal. All went smoothly.