UE5.1 packaging problems from command line

Hi,

while building from command line I get an error as it seems that the AutomationTool is adding the unreal engine root in front of the project path.

I try building with this command

C:\UNREAL\GIT_SOURCE\UnrealEngine-5.1\Engine\Build\BatchFiles\RunUAT.bat BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="C:\WORKSPACE\workspace\workspace\Test.uproject" -cook -iterate -stage -archive -archivedirectory=C:\BUILDS\Test -package -clientconfig=Development -unrealexe="C:\UNREAL\GIT_SOURCE\UnrealEngine-5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -pak -prereqs -nodebuginfo -targetplatform="Win64" -build -CrashReporter -utf8output

The error I get

ERROR: Could not find a project file C:\UNREAL\GIT_SOURCE\UnrealEngine-5.1\C:\WORKSPACE\workspace\workspace\Test.uproject. (see C:\UNREAL\GIT_SOURCE\UnrealEngine-5.1\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)

As one can see, the project path has C:\UNREAL\GIT_SOURCE\UnrealEngine-5.1\ added in front of it which results in the error.

Why would this happen, as I cannot find any info about this error it seems I do someting wrong here?

best regards

Okay, everything worked as intended.
There was still an error in the project path but so hidden that I needed to check each sign by sign :smiley:

So it was overall my fault.

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