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.
2 |
Component | UE - Foundation - Cpp Tools - Automation Tool |
---|---|
Affects Versions | 4.26 |
Target Fix | 5.0 |
Created | Jun 30, 2021 |
---|---|
Resolved | Jan 13, 2022 |
Updated | Jan 26, 2023 |