The RunUAT.bat build does not create the necessary Binaries folder, at the “stage” step it does not find the ProjectName.target file that should be there, and as a result the build is not created. What parameter should be added to the bat to create this file. Right now I am using this command:
"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 -stage -archive -pak -package -allmaps
This problem can be bypassed by first making an assembly from the editor, here folder “Binaries” is created, and then you can already do the assembly from bat. However, this method is completely unsuitable when using Git.