Hello,
Many team members are failing to compile the engine from source (unmodified source code from github + Platforms dir from Perforce). This reproduces in both UE v5.6.0 & v5.6.1.
The team does not have a distributed Horde setup so it’s just using UBA local mode (the default). When compiling the engine many modules fail to compile with this generic error:
Compile [x64] Module.Engine.39.cpp: Exited with error code -1 . The build will fail.And the final compile result is:
CompilationResultException: OtherCompilationErrorWorkaround
Disabling UBA fixes the issue and all affected team members can compile the engine successfully. Disabled via BuildConfiguration.xml :
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<BuildConfiguration>
<bAllowUBAExecutor>false</bAllowUBAExecutor>
</BuildConfiguration>
</Configuration>
Debugging
I followed the [UBA Practical Debugging [Content removed] page (very useful) to build Debug UBA libs and used the -UbaLog and -UbaDetailedLog flags to generate UBA logs:
D:\P4\unreal5.6_sample\Engine\Binaries\ThirdParty\DotNet\8.0.300\win-x64\dotnet.exe D:\P4\unreal5.6_sample\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll "-Target=AGSDKSampleEditor Win64 Development -Project=\"D:\P4\unreal5.6_sample\AGSDKSample\AGSDKSample.uproject\"" "-Target=ShaderCompileWorker Win64 Development -Project=\"D:\P4\unreal5.6_sample\AGSDKSample\AGSDKSample.uproject\" -Quiet" -WaitMutex -FromMsBuild -architecture=x64 -UbaLog -UbaDetailedLog -log="D:\UbaDebug\UnrealBuildTool_Log_UbaDetailedLog_Enabled_DEBUG_2025-09-04_1015.log"I’ve attached both the UBA logs (zipped) and UBT log of a failed engine compile.
Analysis
In my attached UBT logs the following modules failed to compile (note: many more fail when donig a full rebuild):
6796 Compile [x64] Module.Engine.39.cpp: Exited with error code -1 . The build will fail.
6803 Compile [x64] Module.Engine.50.cpp: Exited with error code -1 . The build will fail.
6809 Compile [x64] Module.GeometryCollectionNodes.3.cpp: Exited with error code -1 . The build will fail.
6813 Compile [x64] Module.MovieSceneTracks.2.cpp: Exited with error code -1 . The build will fail.
Unfortunately the UBA logs don’t give a clear smoking gun for the failure (to me at least). The common pattern is the last line in all the UBA logs for the compile failed modules is:
T IsProcessorFeaturePresent 23 -> Success
I hope the attached logs give enough info as to what is going on, but let me know if more information would be helpful. Note that not everyone on the team is experiencing this issue, but many are, so I suspect it might be hardware query related.
Cheers,
Andrej
p.s. In the [UBA Practical Debugging [Content removed] page it mentions several UBA libs to build in Debug, but it doesn’t mention the UbaDetours lib, which I had to also build in order to generate UBA logs.