Download

Packaging from command line

Does anyone have a successfully working command line build that works with 4.26?

I grabbed the command line info out of the logs from packaging and tried to use them but I get the error

Start-Process : A parameter cannot be found that matches parameter name ‘ScriptsForProject=U’.

My command looks like this:

start AutomationTool -ScriptsForProject=U:/path/projectName.uproject BuildCookRun -nocompileeditor -installed -nop4 -project=U:/path/projectName.uproject -cook -stage -archive -archivedirectory=C:/Users/username/Documents -package -ue4exe="C:\Program Files\Epic Games\UE_4.26\Engine\Binaries\Win64\UE4Editor-Cmd.exe" -compressed -ddc=InstalledDerivedDataBackendGraph -pak -prereqs -nodebuginfo -targetplatform=LinuxAArch64 -build -target=projectName -clientconfig=Development -utf8output

Just in case anyone finds this it is now the RunUAT.bat in Engine\Build\BatchFiles
.\RunUAT.bat -help
.\RunUAT.bat BuildCookRun -help