The following workaround will allow UAT to pass the correct initial map to the application.
RunProjectCommand.Automation.cs
private static void SetupClientParams(List<DeploymentContext> DeployContextList, ProjectParams Params, string ClientLogFile, out ERunOptions ClientRunFlags, out string ClientApp, out string ClientCmdLine) { ... if (!String.IsNullOrEmpty(Params.ClientCommandline)) { TempCmdLine += Params.ClientCommandline + " "; } else { // TempCmdLine += Params.MapToRun + " "; TempCmdLine += Params.StageCommandline + " "; // workaround }
UAT passes multiple maps specified in CookedMap (e.g. ThirdpersonExsampleMap+ThirdpersonExsampleMap1+ThirdpersonExsampleMap2) as startup option and does not respect the initial map.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-119188 in the post.