Tested for UE5.0.0
Useage:
win64
1)Extract to Engine\Extras\ThirdPartyNotUE\FASTBuild\Win64
2)All wokers set env FASTBUILD_BROKERAGE_PATH to a shared folder
or
2)On server side, run FBuildCoordinator.exe, all wokers set env FASTBUILD_COORDINATOR to server ip. (don't type port)
3)On every worker's machine, run FBuildWorker.exe.
Please modify UnrealBuildTool->FastBuild.cs to slove duplicate compile tasks problem.
In function public override bool ExecuteActions(List Actions)
if (PreCompileActions.Any())
{
bool bResult = LocalExecutor.ExecuteActions(PreCompileActions);
if (!bResult)
return false;
}
Change PreCompileActions to PreCompileActions.Distinct().ToList()
Knowing Issues:
ShaderCompileWorker crash by finding RealShaderDirectory assert failed.
so you should add r.FASTBuildController.Enabled=0 to ConsoleVariables.ini in Engine/Config to disable FastBuild compile shaders
You can view this pull to fix this issue:
EpicGames/UnrealEngine#8784