Unreal 5.6.1 compile errors in UnrealBuildAccelerator (UBA) projects

Hello,

I’m in the process of updating from 5.6.0 -> 5.6.1 and after getting the 5.6.1 github source there are compile errors building the various UnrealBuildAccelerator projects. I actually need to build UBA in Debug to investigate why the engine is not building with UBA enabled - I will make a new post about that.

An example of broken code is that this is defined in UbaSessionServer.cpp:

bool SessionServer::CreateFile(CreateFileResponse& out, const CreateFileMessage& msg)

But it’s been deleted from UbaSessionServer.h in 5.6.1

Note that I checked the release branch and I still see that method deleted.

I’ve attached the compile errors for the UbaAgent project as an example.

For now I’ll build the 5.6.0 version of UBA to debug my build issues when UBA is enabled (basically a ton of “Exited with error code -1 . The build will fail.” and then finally “Result: Failed (OtherCompilationError)”.

Thanks,

Andrej

edit: there seems to be a difference between what’s in the github 5.6.1 release branch vs Epic’s Perforce depot. I did a diff of UbaSessionServer.cpp between both and indeed they’re not the same. Something is weird though, I see the highest revision being rev7 (CL 42458570), but in the [5.6.1 known [Content removed] post it mentions a UBA fix for CL 44793533, which shows UbaSessionServer.cpp at rev9 (the highest I see is rev7).

Steps to Reproduce

Compile UbaAgent, UbaCore, UbaCoordinatorHorde, etc. in Development Editor for ue5.6.1-release and you’ll see compile errors.

Hi,

We had a hiccup at the P4 level when we integrated all the 5.6.1 fixes from Dev5.6 to Rel5.6. Three files from UBA didn’t make it and we only discovered it after the hotfix was live. The problem was addressed with https://github.com/EpicGames/UnrealEngine/commit/d9ebb27bc32a04a62d87f4a32cbe65e9eb3607ff

The Release branch is a mapping on the last release so it stops at the wrong commit on the 5.6 branch. The 5.6.1 tag and the release are also missing the files.

The binaries are the correct one so it’s only a problem when trying to compile it.

Sorry for the trouble,

Martin

Hey Sevigny! :waving_hand:

Thanks for the info. I went the Perforce route and grabbed the same fixes from CL 44793533 in //UE5/Release-5.6/.

Sidenote: the issues I mentioned in my post about not finding the right file version was because I was looking in the //UE5/Release-5.6.0 stream, which imports at a specific CL, wups!

I’m able to build debug libs for UBA and hoping it will provide more details for the engine compile failures other than these kinds of messages:

Compile [x64] Module.GeometryCollectionNodes.3.cpp: Exited with error code -1 . The build will fail.

Cheers,

Andrej