How to use the new multi process cook

I’m trying to use the new multi cook process feature in Unreal Engine 5.3.
I have installed the engine and I’m trying to build the Valley of the Ancient sample.

This is the cook command I’m using

C:\UnrealEngine\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -project="C:\UnrealProjects\ValleyoftheAncient\ValleyoftheAncient.uproject" -Target="AncientGame" -platform=Win64 -configuration=Development  -nocompileeditor -unattended -utf8output -clean -build -cook -stage -pak -prereqs -package -AdditionalCookerOptions="-cookprocesscount=4"

I don’t know why but I’m getting the following erros:

LogCook: Display: LostConnection to CookWorker 0. Log messages written after communication loss:
LogCook: Warning: No log file found for CookWorker 0.
LogCook: Error: CookWorkerCrash: CookWorker 0 process terminated before connecting. Assigned packages will be returned to the director.
LogCook: Display: LostConnection to CookWorker 1. Log messages written after communication loss:
LogCook: Warning: No log file found for CookWorker 1.
LogCook: Error: CookWorkerCrash: CookWorker 1 process terminated before connecting. Assigned packages will be returned to the director.
LogCook: Display: LostConnection to CookWorker 2. Log messages written after communication loss:
LogCook: Warning: No log file found for CookWorker 2.
LogCook: Error: CookWorkerCrash: CookWorker 2 process terminated before connecting. Assigned packages will be returned to the director.
LogInit: Display: Warning/Error Summary (Unique only)
LogInit: Display: -----------------------------------
LogInit: Display: LogCook: Error: CookWorkerCrash: CookWorker 0 process terminated before connecting. Assigned packages will be returned to the director.
LogInit: Display: LogCook: Error: CookWorkerCrash: CookWorker 1 process terminated before connecting. Assigned packages will be returned to the director.
LogInit: Display: LogCook: Error: CookWorkerCrash: CookWorker 2 process terminated before connecting. Assigned packages will be returned to the director.
LogInit: Display: LogCook: Warning: No log file found for CookWorker 0.
LogInit: Display: LogCook: Warning: No log file found for CookWorker 1.
LogInit: Display: LogCook: Warning: No log file found for CookWorker 2.
LogInit: Display:
LogInit: Display: Failure - 3 error(s), 4 warning(s)
LogInit: Display:

Log.txt (285.3 KB)
Attaching the full log for reference.

Any help would be greatly appreciated!

Also same issue be helpful if this actually worked lol! Or if someone figured it out knows what to do.

I’ve encountered the same problem, and I don’t know how to solve it.Help!

1 Like

I found the issue. It seems the project location has to be > UnrealEngine\ValleyoftheAncient\ValleyoftheAncient.uproject. There’s a code excerpt that assumes that the project is going to be residing under the engine directory. the workers are failing when they cannot find the uproject file (and by extension the rest of the source/intermediate files) where it expects. I had it under a different directory called UnrealProjects.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.