I recently started experiencing a build failure. Any help would be appreciated. I haven’t changed windows, Visual Studio, or anything major in the project that I can think of.
Here is my very short log.
MainFrameActions: Cooking (Windows): Running AutomationTool…
MainFrameActions: Cooking (Windows): Program.Main: CWD=Y:\Unreal Engine\Epic Games\4.10\Engine\Binaries\DotNET
MainFrameActions: Cooking (Windows): Automation.ParseCommandLine: Parsing command line: BuildCookRun -rocket -nocompile -nocompileeditor -installed -nop4 -project=X:/Unreal Projects/A_Citadel13/A_Citadel13.uproject -cook -ue4exe=UE4Editor-Cmd.exe -targetplatform=Win64 -CookAll
MainFrameActions: Cooking (Windows): Automation.Process: IsBuildMachine=False
MainFrameActions: Cooking (Windows): Automation.Process: ShouldKillProcesses=True
MainFrameActions: Cooking (Windows): Automation.Process: Setting up command environment.
MainFrameActions: Cooking (Windows): CommandUtils.SetEnvVar: SetEnvVar uebp_EngineSavedFolder=Y:/Unreal Engine/Epic Games/4.10/Engine/Programs/AutomationTool/Saved
MainFrameActions: Cooking (Windows): CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:/Users//AppData/Roaming/Unreal Engine/AutomationTool/Logs/Y+Unreal+Engine+Epic+Games+4.10)
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: Setting .Net Framework environment variables.
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: Supports64bitExecutables=True
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: WindowsPlatform.CompilerVisualStudio2015
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: WindowsSDKDir=C:\Program Files (x86)\Windows Kits\8.1
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: BaseVSToolPath=Y:\Visual Studio\Common7\Tools
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: Setting VS environment variables via Y:\Visual Studio\Common7\Tools....\VC\bin\x86_amd64\vcvarsx86_amd64.bat.
MainFrameActions: Cooking (Windows): CommandUtils.SetEnvVar: SetEnvVar FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
MainFrameActions: Cooking (Windows): CommandUtils.SetEnvVar: SetEnvVar FrameworkVersion=v4.0.30319
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: FrameworkDir=C:\WINDOWS\Microsoft.NET\Framework
MainFrameActions: Cooking (Windows): WindowsHostPlatform.SetFrameworkVars: FrameworkVersion=v4.0.30319
MainFrameActions: Cooking (Windows): ProjectUtils.CleanupFolders: Cleaning up project rules folder
MainFrameActions: Cooking (Windows): CommandUtils.DeleteDirectoryContents: DeleteDirectoryContents(C:\Users\AppData\Local\Temp\UAT\Y+Unreal+Engine+Epic+Games+4.10\Rules)
MainFrameActions: Cooking (Windows): Automation.Process: Compiling scripts.
MainFrameActions: Cooking (Windows): ScriptCompiler.LoadPreCompiledScriptAssemblies: Loading precompiled script DLLs
MainFrameActions: Cooking (Windows): ScriptCompiler.LoadPreCompiledScriptAssemblies: Found 9 script DLL(s).
MainFrameActions: Cooking (Windows): BuildCookRun.SetupParams: Setting up ProjectParams for X:\Unreal Projects\A_Citadel13\A_Citadel13.uproject
MainFrameActions: Cooking (Windows): ProjectUtils.CompileAndLoadTargetsAssembly: Compiling targets DLL: C:\Users\AppData\Local\Temp\UAT\Y+Unreal+Engine+Epic+Games+4.10\Rules\UATRules-95410045.dll
MainFrameActions: Cooking (Windows): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Cooking (Windows): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Cooking (Windows): Program.Main: ERROR: Exception in mscorlib: An item with the same key has already been added.
MainFrameActions: Cooking (Windows): Stacktrace: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
MainFrameActions: Cooking (Windows): at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) MainFrameActions: Cooking (Windows): at AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, String TargetsDllFilename, Boolean DoNotCompile, List
1 TargetScripts)
MainFrameActions: Cooking (Windows): at AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List1 ExtraSearchPaths) MainFrameActions: Cooking (Windows): at AutomationTool.ProjectUtils.DetectProjectProperties(String RawProjectPath, List
1 ClientTargetPlatforms)
MainFrameActions: Cooking (Windows): at AutomationTool.ProjectUtils.GetProjectProperties(String RawProjectPath, List1 ClientTargetPlatforms) MainFrameActions: Cooking (Windows): at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) MainFrameActions: Cooking (Windows): at AutomationTool.ProjectParams..ctor(String RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList
1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, Nullable1 StageNonMonolithic, String UE4Exe, String SignPak, List
1 ClientConfigsToBuild, List1 ServerConfigsToBuild, ParamList
1 MapsToCook, ParamList1 DirectoriesToCook, String InternationalizationPreset, ParamList
1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList
1 EditorTargets, ParamList1 ServerCookedTargets, List
1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List
1 ServerTargetPlatforms, Dictionary2 ServerDependentPlatformMap, Nullable
1 Build, Nullable1 Cook, String CookFlavor, Nullable
1 Run, Nullable1 SkipServer, Nullable
1 Clean, Nullable1 Compressed, Nullable
1 UseDebugParamForEditorExe, Nullable1 IterativeCooking, Nullable
1 CookAll, Nullable1 CookMapsOnly, Nullable
1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, Nullable
1 UnversionedCookedContent, Nullable1 SkipCookingEditorContent, Nullable
1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, Nullable1 GeneratePatch, String DLCName, Nullable
1 DLCIncludeEngineContent, Nullable1 NewCook, Nullable
1 OldCook, Nullable1 CrashReporter, Nullable
1 DedicatedServer, Nullable1 Client, Nullable
1 Deploy, Nullable1 FileServer, Nullable
1 Foreign, Nullable1 ForeignCode, Nullable
1 LogWindow, Nullable1 NoCleanStage, Nullable
1 NoClient, Nullable1 NoDebugInfo, Nullable
1 NoXGE, Nullable1 Package, Nullable
1 Pak, Nullable1 Prereqs, Nullable
1 NoBootstrapExe, Nullable1 SignedPak, Nullable
1 NullRHI, Nullable1 FakeClient, Nullable
1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable
1 CrashIndex, Nullable1 Rocket, Nullable
1 SkipCook, Nullable1 SkipCookOnTheFly, Nullable
1 SkipPak, Nullable1 SkipStage, Nullable
1 Stage, Nullable1 Manifests, Nullable
1 CreateChunkInstall, Nullable1 Unattended, Nullable
1 NumClients, Nullable1 Archive, String ArchiveDirectoryParam, Nullable
1 ArchiveMetaData, Nullable1 CreateAppBundle, ParamList
1 ProgramTargets, Nullable1 Distribution, Nullable
1 Prebuilt, Nullable1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable
1 IterativeDeploy, Nullable1 FastCook, Nullable
1 IgnoreCookErrors, Nullable1 CodeSign, String Provision, String Certificate) MainFrameActions: Cooking (Windows): at BuildCookRun.SetupParams() MainFrameActions: Cooking (Windows): at BuildCookRun.ExecuteBuild() MainFrameActions: Cooking (Windows): at BuildCommand.Execute() MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Execute(List
1 CommandsToExecute, CaselessDictionary1 Commands) MainFrameActions: Cooking (Windows): at AutomationTool.Automation.Process(String[] CommandLine) MainFrameActions: Cooking (Windows): at AutomationTool.Program.MainProc(Object Param) MainFrameActions: Cooking (Windows): at AutomationTool.InternalUtils.RunSingleInstance(Action
1 Main, Object Param)
MainFrameActions: Cooking (Windows): at AutomationTool.Program.Main()
MainFrameActions: Cooking (Windows): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Cooking (Windows): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
MainFrameActions: Cooking (Windows): Domain_ProcessExit
MainFrameActions: Cooking (Windows): copying UAT log files…
MainFrameActions: Cooking (Windows): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Cooking (Windows): BUILD FAILED
Any help would be apreciated.