I created a new project from Unreal 4.24 using Third Person project as a base.
As I could not compile server with the packaged unreal version I downloaded the latest source and compiled the editor and server development versions.
Now if using these I try to cook/package the content I always run into this error, and I have not really any clue about where that string his or how that array of string that is being referenced is getting generated.
I guess I am just missing a generation step somewhere but unfortunately unable to figure it out.
InternalUtils.SafeDeleteFile: SafeDeleteFile F:\Unreal\UnrealEngine\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
InternalUtils.SafeDeleteFile: SafeDeleteFile F:\Unreal\UnrealEngine\Engine\Binaries\DotNET\AutomationUtils.Automation.pdb
ProcessResult.StdOut: F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj(218,7): error MSB4184: The expression ““System.String[]”.GetValue(5)” cannot be evaluated. Index was outside the bounds of the array.
CommandUtils.Run: Took 2.0501126s to run MSBuild.exe, ExitCode=1
Log.WriteException: ==============================================================================
Log.WriteException: ERROR: Failed to build “F:/Unreal/UnrealEngine/Engine/Programs/AutomationTool/Saved\UATTempProj.proj”:
Log.WriteException: F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj(218,7): error MSB4184: The expression ““System.String[]”.GetValue(5)” cannot be evaluated. Index was outside the bounds of the array.
Log.WriteException:
Log.WriteException: (see F:\Unreal\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
Log.WriteException:
Log.WriteException: AutomationException: Failed to build “F:/Unreal/UnrealEngine/Engine/Programs/AutomationTool/Saved\UATTempProj.proj”:
Log.WriteException: F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Gauntlet\Gauntlet.Automation.csproj(218,7): error MSB4184: The expression ““System.String[]”.GetValue(5)” cannot be evaluated. Index was outside the bounds of the array.
Log.WriteException:
Log.WriteException: at AutomationTool.ScriptCompiler.CompileModules(List1 Modules) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\ScriptCompiler.cs:line 318 Log.WriteException: at AutomationTool.ScriptCompiler.FindAndCompileScriptModules(String ScriptsForProjectFileName, List
1 AdditionalScriptsFolders) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\ScriptCompiler.cs:line 167
Log.WriteException: at AutomationTool.ScriptCompiler.FindAndCompileAllScripts(String ScriptsForProjectFileName, List1 AdditionalScriptsFolders) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\ScriptCompiler.cs:line 70 Log.WriteException: at AutomationTool.Automation.Process(String[] Arguments, StartupTraceListener StartupListener) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 477 Log.WriteException: at AutomationTool.Program.MainProc(String[] Arguments, StartupTraceListener StartupListener) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 176 Log.WriteException: at AutomationTool.Program.<>c__DisplayClass1_0.b__2() in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 88 Log.WriteException: at AutomationTool.InternalUtils.RunSingleInstance(Func
1 Main) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 731
Log.WriteException: at AutomationTool.Program.Main(String[] Arguments) in F:\Unreal\UnrealEngine\Engine\Source\Programs\AutomationTool\Program.cs:line 88
Log.WriteException: ==============================================================================
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)