How do I create binary files when I build with bat?

This problem can be solved by adding the parameter “-build” before “-stage”, this parameter creates the folder “Binaries” with all the necessary files for building

"E:\GameDev\UE4\UE_4.27\Engine\Build\BatchFiles\RunUAT.bat" ^
BuildCookRun ^
-project="E:\UE Projects\Concept\Concept.uproject" ^
-platform=Win64 -clientconfig=Development ^
-archivedirectory="E:\UE Projects\Concept\BuildFromBat" ^
-cook -build -stage -archive -pak -package -allmaps
1 Like