5.6.0 UBA Compilation

Hi,

It seems some programs do not compile out of the 5.6.0 stream. Also tried from the github version. Some are tied to platforms, but UBA Coordinator seems to fail to compile as well.

9>[13/42] Compile [x64] Module.UbaCoordinatorHorde.cpp 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Private\UbaCoordinatorHorde.cpp(42,12): error C2664: 'void FUbaHordeAgentManager::SetAddClientCallback(FUbaHordeAgentManager::FAddClientCallback (__cdecl *),void *)': cannot convert argument 1 from 'uba::Coordinator::AddClientCallback (__cdecl *)' to 'FUbaHordeAgentManager::FAddClientCallback (__cdecl *)' 9> m_manager.SetAddClientCallback(callback, userData); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Private\UbaCoordinatorHorde.cpp(42,34): note: This conversion requires a reinterpret_cast, a C-style cast or parenthesized function-style cast 9> m_manager.SetAddClientCallback(callback, userData); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Public\UbaHordeAgentManager.h(23,31): note: see declaration of 'FUbaHordeAgentManager::SetAddClientCallback' 9> UBACOORDINATORHORDE_API void SetAddClientCallback(FAddClientCallback* Callback, void* UserData); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Private\UbaCoordinatorHorde.cpp(42,12): note: while trying to match the argument list '(uba::Coordinator::AddClientCallback (__cdecl *), void *)' 9> m_manager.SetAddClientCallback(callback, userData); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Private\UbaCoordinatorHorde.cpp(82,5): error C2039: 'SetPool': is not a member of 'FUbaHordeAgentManager' 9> m.SetPool(info.pool); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Public\UbaHordeAgentManager.h(14,7): note: see declaration of 'FUbaHordeAgentManager' 9>class FUbaHordeAgentManager 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Private\UbaCoordinatorHorde.cpp(83,5): error C2039: 'SetMaxCoreCount': is not a member of 'FUbaHordeAgentManager' 9> m.SetMaxCoreCount(info.maxCoreCount); 9> ^ 9>D:\dev\UnrealEngine-5.6.0-release\Engine\Source\Developer\UbaCoordinatorHorde\Public\UbaHordeAgentManager.h(14,7): note: see declaration of 'FUbaHordeAgentManager' 9>class FUbaHordeAgentManager 9> ^ 9>[14/42] Compile [x64] Module.XmlParser.cpp

Any advice?

Hey there,

Could you please provide the toplevel build command? I just want to make sure I’m building this in the same manner as you.

Kind regards,

Julian

Hey,

Running UnrealBuildTool: dotnet “..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll” UbaCoordinatorHorde Win64 Development -WaitMutex -FromMsBuild -architecture=x64

Or just try to build the entire engine solution.

Hey there,

Just for posterity, it is not suggested to build entire engine solution. Just the UE5 project, or targets.

This shouldn’t be an outright blocker as the UBACoordinatorHorde module is primarily used outside of this failure context (UBA_COORDINATOR_HORDE_DLL), as it’s a Module within the UBAController plugin (the primary entry point). It is however still on obvious issue on ue5 main as well. I do think this Target file is more or less not in use however. I hope that gives some insight as to why I asked about the command line used for build - was a bit surprised to see the error otherwise.

[mention removed]​ - do we have any thoughts on the Target file for this? I feel like it may be deprecated…

Kind regards,

Julian