UAT Only Generating 1 Pak File

Hi,

I’m using UE4.25 for a legacy project and I’m trying to build my project using the command line. However, UAT is only generating a single pak file.

My project settings have “Generate Chunks” as true. I confirmed this in the DefaultGame.ini config file in the project.

I have PrimaryAssetLabels setup properly.

When I build from the editor, the packaging process generates multiple chunks. It’s only when I build using UAT and the BuildCookRun command.

Here’s the command I’m running:

"[Engine Path]\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -nocompileeditor -installed -nop4 -project="[Project Path]/MyProject.uproject" -cook -stage -archive -archivedirectory="[Archive Path]" -package -ue4exe="[Engine Path]\Engine\Binaries\Win64\UE4Editor-Cmd.exe" -SkipCookingEditorContent -pak -prereqs -manifests -targetplatform=Win64 -build -target=MyProject -clientconfig=Development -utf8output -ForceDebugInfo -iterate

I also went into the Engine config and tried to set “bGenerateChunks” in the Engine’s BaseGame.ini to true.