From the command line I am trying to package two different projects at the same time using a command like this:
BuildCookRun -project="MyProject.uproject" -noP4 -platform=Linux -clientconfig=Development -serverconfig=Development -cook -allmaps -build -stage -pak -archive -archivedirectory="."
but when the second one runs I get this error:
Unhandled exception: System.Exception: A conflicting instance of AutomationTool is already running. Current location: C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\AutomationTool\AutomationTool.dll. A process manager may be used to determine the conflicting process and what tool may have launched it at UnrealBuildBase.ProcessSingleton.RunSingleInstanceThread(Func
1 Main, TaskCompletionSource1 Result, Boolean bWaitForUATMutex, ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\Automation\ProcessSingleton.cs:line 72 --- End of stack trace from previous location --- at UnrealBuildBase.ProcessSingleton.RunSingleInstanceAsync(Func 1 Main, Boolean bWaitForUATMutex, ILogger Logger) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\Shared\EpicGames.Build\Automation\ProcessSingleton.cs:line 42 at AutomationToolDriver.Program.Main(String[] Arguments) in C:\Program Files\Epic Games\UE_5.3\Engine\Source\Programs\AutomationTool\Program.cs:line 446 AutomationTool executed for 0h 0m 0s AutomationTool exiting with ExitCode=1 (Error_Unknown)
How can I do this so that I can have multiple simultaneous builds?