Hello, I’ve been trying to package a project for windows but I’ve run into the following issue.
Telling me the plugin called paper 2d has already been added.
When I remove it from it’s location (C:\Program Files\Epic Games\UE_5.1\Engine\Plugins)
The error will happen again, just for the very next plugin.
Eventually when I’ve removed some, the engine won’t start obviously, but I do not understand what is going wrong here. I don’t see any duplicate plugins, and why I would have to remove a plugin.
I get this same error on multiple projects, be it empty or a year old.
Here is the log in detail
Log started at 08.02.2024 09:47:59 (2024-02-08T08:47:59Z)
Starting AutomationTool...
Parsing command line: -ScriptsForProject="C:/Users/user/Documents/Unreal Projects/MyProject7/MyProject7.uproject" Turnkey -command=VerifySdk -platform=Win64 -UpdateIfNeeded -EditorIO -EditorIOPort=51772 -project="C:/Users/user/Documents/Unreal Projects/MyProject7/MyProject7.uproject" BuildCookRun -nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project="C:/Users/user/Documents/Unreal Projects/MyProject7/MyProject7.uproject" -unrealexe="C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" -platform=Win64 -installed -stage -archive -package -build -pak -iostore -compressed -prereqs -archivedirectory="C:/Users/user/Documents/Unreal Projects/MyProject7/Packages" -clientconfig=Development -nocompile -nocompileuat
Found 2 scripts to execute:
Turnkey(command=VerifySdk, platform=Win64, UpdateIfNeeded, EditorIO, EditorIOPort=51772, project=C:/Users/user/Documents/Unreal Projects/MyProject7/MyProject7.uproject)
BuildCookRun(nop4, utf8output, nocompileeditor, skipbuildeditor, cook, project=C:/Users/user/Documents/Unreal Projects/MyProject7/MyProject7.uproject, unrealexe=C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealEditor-Cmd.exe, platform=Win64, installed, stage, archive, package, build, pak, iostore, compressed, prereqs, archivedirectory=C:/Users/user/Documents/Unreal Projects/MyProject7/Packages, clientconfig=Development, nocompile, nocompileuat)
Adding event matcher: CompileEventMatcher
Adding event matcher: LinkEventMatcher
Adding event matcher: MicrosoftEventMatcher
Adding event matcher: XoreaxEventMatcher
Running on Windows as a 64-bit process.
CWD=C:\Program Files\Epic Games\UE_5.1
UnrealEngine ver. 5.0.0
Initializing script modules...
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Android.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\AutomationScripts.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\AutomationUtils.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\BuildGraph.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\CookedEditor.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\CrowdinLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Build.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.BuildGraph.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Core.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.IoHash.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Jupiter.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.MsBuild.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Perforce.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Serialization.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.UHT.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Gauntlet.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\HoloLens.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\IOS.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Linux.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Localization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\LowLevelTests.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Mac.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\OneSkyLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\SmartlingLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\SteamDeck.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Turnkey.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\TVOS.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\UnrealBuildTool.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Win.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\XLocLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Android.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\AutomationScripts.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\AutomationUtils.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\BuildGraph.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\CookedEditor.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\CrowdinLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Build.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.BuildGraph.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Core.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.IoHash.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Jupiter.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.MsBuild.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Perforce.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.Serialization.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\EpicGames.UHT.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Gauntlet.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\HoloLens.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\IOS.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Linux.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Localization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\LowLevelTests.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Mac.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\OneSkyLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\SmartlingLocalization.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\SteamDeck.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Turnkey.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\TVOS.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\UnrealBuildTool.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\Win.Automation.json
Loaded script module build record C:\Program Files\Epic Games\UE_5.1\Engine\Intermediate\ScriptModules\XLocLocalization.Automation.json
Total script module initialization time: 0.14 s.
Adding event matcher: ContentEventMatcher
Adding event matcher: CrashEventMatcher
Adding event matcher: ExceptionEventMatcher
Adding event matcher: ExitCodeEventMatcher
Adding event matcher: GauntletEventMatcher
Adding event matcher: GenericEventMatcher
Adding event matcher: GradleEventMatcher
Adding event matcher: LocalizationEventMatcher
Adding event matcher: LogChannelEventMatcher
Adding event matcher: MsTestEventMatcher
Adding event matcher: ShaderEventMatcher
Adding event matcher: SourceFileLineEventMatcher
Adding event matcher: SystemicEventMatcher
Adding event matcher: CompileEventMatcher
Adding event matcher: LinkEventMatcher
Adding event matcher: MicrosoftEventMatcher
Adding event matcher: XoreaxEventMatcher
Setting up command environment.
SafeFileExists C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationTool.dll=True
GetEnvironmentVariable uebp_LOCAL_ROOT=
GetEnvironmentVariable uebp_LOCAL_ROOT=
GetEnvironmentVariable uebp_EngineSavedFolder=
SetEnvVar uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_5.1/Engine/Programs/AutomationTool/Saved
GetEnvironmentVariable uebp_EngineSavedFolder=C:/Program Files/Epic Games/UE_5.1/Engine/Programs/AutomationTool/Saved
GetEnvironmentVariable uebp_CSVFile=
GetEnvironmentVariable uebp_LogFolder=
GetEnvironmentVariable uebp_LOCAL_ROOT=C:/Program Files/Epic Games/UE_5.1
SetEnvVar uebp_LogFolder=C:/Users/user/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.1
SafeDeleteFile C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.json
SafeDeleteFile C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt
GetEnvironmentVariable uebp_FinalLogFolder=
SetEnvVar uebp_FinalLogFolder=C:/Users/user/AppData/Roaming/Unreal Engine/AutomationTool/Logs/C+Program+Files+Epic+Games+UE_5.1
SafeFileExists C:\WINDOWS\system32\robocopy.exe=True
SafeFileExists C:\WINDOWS\system32\mount.exe=False
SafeFileExists C:\WINDOWS\Sysnative\mount.exe=False
SafeFileExists C:\WINDOWS\system32\cmd.exe=True
SetEnvVar MallocNanoZone=0
GetEnvironmentVariable uebp_UATChildInstance=0
Found Visual Studio installation: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community (Product=Microsoft.VisualStudio.Product.Community, Version=16.11.33328.57)
No config file at C:\Users\user\Documents\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Configuration will be read from:
C:\Users\user\AppData\Roaming\Unreal Engine\UnrealBuildTool\BuildConfiguration.xml
Registering build platform: UnrealBuildTool.AndroidPlatformFactory
Note: Android toolchain NDK r25b recommended
Registering build platform: Android - buildable: False
Registering build platform: UnrealBuildTool.IOSPlatformFactory
Registering build platform: IOS - buildable: False
Registering build platform: UnrealBuildTool.LinuxPlatformFactory
Registering build platform: Linux - buildable: False
Registering build platform: LinuxArm64 - buildable: False
Registering build platform: UnrealBuildTool.MacPlatformFactory
Registering build platform: UnrealBuildTool.TVOSPlatformFactory
Registering build platform: UnrealBuildTool.WindowsPlatformFactory
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (1)
Found Windows 10 SDK root at C:\Program Files (x86)\Windows Kits\10 (2)
Found Windows 10 SDK version 10.0.17763.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.17763.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.19041.0 at C:\Program Files (x86)\Windows Kits\10
Found Windows 10 SDK version 10.0.22000.0 at C:\Program Files (x86)\Windows Kits\10
Found Universal CRT version 10.0.22000.0 at C:\Program Files (x86)\Windows Kits\10
Win64 Installed SDK(s): MinVersion_Sdk=10.0.00000.0, MaxVersion_Sdk=10.9.99999.0, CurrentVersion_Sdk=10.0.22000.0, Version_AutoSdk=10.0.18362.0, CurrentVersion_AutoSdk=
Registering build platform: Win64 - buildable: True
Registering build platform: UnrealBuildTool.HoloLensPlatformFactory
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Android\Android.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Scripts\AutomationScripts.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationUtils\AutomationUtils.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\BuildGraph\BuildGraph.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\CookedEditor\CookedEditor.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\CrowdinLocalization\CrowdinLocalization.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Gauntlet\Gauntlet.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Platforms\Hololens\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\HoloLens\HoloLens.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\IOS\IOS.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Linux\Linux.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Localization\Localization.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\LowLevelTests\LowLevelTests.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Mac\Mac.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\OneSkyLocalization\OneSkyLocalization.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\SmartlingLocalization\SmartlingLocalization.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\SteamDeck\SteamDeck.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Turnkey\Turnkey.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\TVOS\TVOS.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\Platforms\Windows\Win.Automation.dll
Loading script DLL: C:\Program Files\Epic Games\UE_5.1\Engine\Binaries\DotNET\AutomationTool\AutomationScripts\XLocLocalization\XLocLocalization.Automation.dll
Executing commands...
BUILD SUCCESSFUL
SafeFileExists C:\Users\user\Documents\Unreal Projects\MyProject7\MyProject7.uproject=True
SafeFileExists C:\Users\user\Documents\Unreal Projects\MyProject7\MyProject7.uproject=True
Setting up ProjectParams for C:\Users\user\Documents\Unreal Projects\MyProject7\MyProject7.uproject
==============================================================================
ERROR: System.ArgumentException: An item with the same key has already been added. Key: Paper2D
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at AutomationTool.ProjectUtils.RequiresTempTarget(FileReference RawProjectPath, Boolean bProjectHasCode, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, TargetType TargetType, Boolean bRequiresAssetNativization, Boolean bRequiresCookedData, String& OutReason) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 294
at AutomationTool.ProjectUtils.RequiresTempTarget(FileReference RawProjectPath, List`1 Platforms, List`1 Configurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 241
at AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 613
at AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 175
at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2306
at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, BuildCommand Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UnrealExe, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 MapIniSectionsToCook, ParamList`1 DirectoriesToCook, String DDCGraph, String InternationalizationPreset, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 SkipBuildClient, Nullable`1 SkipBuildEditor, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 ForceUncompressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, Nullable`1 IterativeCooking, String IterateSharedCookedBuild, Nullable`1 IterateSharedBuildUsePrecompiledExe, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullable`1 CookInEditor, String CookOutputDir, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 OptionalContent, Nullable`1 EncryptIniFiles, Nullable`1 EncryptPakIndex, Nullable`1 EncryptEverything, Nullable`1 SkipCookingEditorContent, String AdditionalCookerOptions, String OriginalReleaseVersion, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, String ReferenceContainerGlobalFileName, String ReferenceContainerCryptoKeys, Nullable`1 GeneratePatch, Nullable`1 AddPatchLevel, Nullable`1 StageBaseReleasePaks, String DiscVersion, String DLCName, String DLCOverrideCookedSubDir, String DLCOverrideStagedSubDir, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 DLCPakPluginFile, Nullable`1 DLCActLikePatch, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, String DeployFolder, String GetFile, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 SeparateDebugInfo, Nullable`1 MapFile, Nullable`1 NoXGE, Nullable`1 SkipPackage, Nullable`1 NeverPackage, Nullable`1 Package, Nullable`1 Pak, Nullable`1 IgnorePaksFromDifferentCookSource, Nullable`1 IoStore, Nullable`1 Cook4IoStore, Nullable`1 ZenStore, String NoZenAutoLaunch, Nullable`1 SkipIoStore, Nullable`1 GenerateOptimizationData, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 PakAlignForMemoryMapping, Nullable`1 RehydrateAssets, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 PrePak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 SkipEncryption, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList`1 ProgramTargets, Nullable`1 Distribution, String PackageEncryptionKeyFile, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 InMapsToRebuildHLOD, ParamList`1 TitleID) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1223
at BuildCookRun.SetupParams() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 49
at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 40
at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
(see C:\Users\user\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.1\Log.txt for full exception trace)
ArgumentException: An item with the same key has already been added. Key: Paper2D
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at AutomationTool.ProjectUtils.RequiresTempTarget(FileReference RawProjectPath, Boolean bProjectHasCode, UnrealTargetPlatform Platform, UnrealTargetConfiguration Configuration, TargetType TargetType, Boolean bRequiresAssetNativization, Boolean bRequiresCookedData, String& OutReason) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 294
at AutomationTool.ProjectUtils.RequiresTempTarget(FileReference RawProjectPath, List`1 Platforms, List`1 Configurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 241
at AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 613
at AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List`1 ClientTargetPlatforms, List`1 ClientTargetConfigurations, Boolean AssetNativizationRequested) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectUtils.cs:line 175
at AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 2306
at AutomationTool.ProjectParams..ctor(FileReference RawProjectPath, BuildCommand Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList`1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UnrealExe, String UE4Exe, String SignPak, List`1 ClientConfigsToBuild, List`1 ServerConfigsToBuild, ParamList`1 MapsToCook, ParamList`1 MapIniSectionsToCook, ParamList`1 DirectoriesToCook, String DDCGraph, String InternationalizationPreset, ParamList`1 CulturesToCook, ParamList`1 ClientCookedTargets, ParamList`1 EditorTargets, ParamList`1 ServerCookedTargets, List`1 ClientTargetPlatforms, Dictionary`2 ClientDependentPlatformMap, List`1 ServerTargetPlatforms, Dictionary`2 ServerDependentPlatformMap, Nullable`1 Build, Nullable`1 SkipBuildClient, Nullable`1 SkipBuildEditor, Nullable`1 Cook, Nullable`1 Run, Nullable`1 SkipServer, Nullable`1 Clean, Nullable`1 Compressed, Nullable`1 ForceUncompressed, String AdditionalPakOptions, String AdditionalIoStoreOptions, Nullable`1 IterativeCooking, String IterateSharedCookedBuild, Nullable`1 IterateSharedBuildUsePrecompiledExe, Nullable`1 CookAll, Nullable`1 CookPartialGC, Nullable`1 CookInEditor, String CookOutputDir, Nullable`1 CookMapsOnly, Nullable`1 CookOnTheFly, Nullable`1 CookOnTheFlyStreaming, Nullable`1 UnversionedCookedContent, Nullable`1 OptionalContent, Nullable`1 EncryptIniFiles, Nullable`1 EncryptPakIndex, Nullable`1 EncryptEverything, Nullable`1 SkipCookingEditorContent, String AdditionalCookerOptions, String OriginalReleaseVersion, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, String ReferenceContainerGlobalFileName, String ReferenceContainerCryptoKeys, Nullable`1 GeneratePatch, Nullable`1 AddPatchLevel, Nullable`1 StageBaseReleasePaks, String DiscVersion, String DLCName, String DLCOverrideCookedSubDir, String DLCOverrideStagedSubDir, String DiffCookedContentPath, Nullable`1 DLCIncludeEngineContent, Nullable`1 DLCPakPluginFile, Nullable`1 DLCActLikePatch, Nullable`1 CrashReporter, Nullable`1 DedicatedServer, Nullable`1 Client, Nullable`1 Deploy, String DeployFolder, String GetFile, Nullable`1 FileServer, Nullable`1 Foreign, Nullable`1 ForeignCode, Nullable`1 LogWindow, Nullable`1 NoCleanStage, Nullable`1 NoClient, Nullable`1 NoDebugInfo, Nullable`1 SeparateDebugInfo, Nullable`1 MapFile, Nullable`1 NoXGE, Nullable`1 SkipPackage, Nullable`1 NeverPackage, Nullable`1 Package, Nullable`1 Pak, Nullable`1 IgnorePaksFromDifferentCookSource, Nullable`1 IoStore, Nullable`1 Cook4IoStore, Nullable`1 ZenStore, String NoZenAutoLaunch, Nullable`1 SkipIoStore, Nullable`1 GenerateOptimizationData, Nullable`1 Prereqs, String AppLocalDirectory, Nullable`1 NoBootstrapExe, Nullable`1 SignedPak, Nullable`1 PakAlignForMemoryMapping, Nullable`1 RehydrateAssets, Nullable`1 NullRHI, Nullable`1 FakeClient, Nullable`1 EditorTest, Nullable`1 RunAutomationTests, String RunAutomationTest, Nullable`1 CrashIndex, Nullable`1 SkipCook, Nullable`1 SkipCookOnTheFly, Nullable`1 SkipPak, Nullable`1 PrePak, Nullable`1 SkipStage, Nullable`1 Stage, Nullable`1 Manifests, Nullable`1 CreateChunkInstall, Nullable`1 SkipEncryption, Nullable`1 Unattended, Nullable`1 NumClients, Nullable`1 Archive, String ArchiveDirectoryParam, Nullable`1 ArchiveMetaData, Nullable`1 CreateAppBundle, String SpecifiedClientTarget, String SpecifiedServerTarget, ParamList`1 ProgramTargets, Nullable`1 Distribution, String PackageEncryptionKeyFile, Nullable`1 Prebuilt, Nullable`1 RunTimeoutSeconds, String SpecifiedArchitecture, String UbtArgs, String AdditionalPackageOptions, Nullable`1 IterativeDeploy, Nullable`1 FastCook, Nullable`1 IgnoreCookErrors, Nullable`1 CodeSign, Nullable`1 TreatNonShippingBinariesAsDebugFiles, Nullable`1 UseExtraFlavor, String Provision, String Certificate, String Team, Boolean AutomaticSigning, String Trace, String TraceHost, String TraceFile, String SessionLabel, ParamList`1 InMapsToRebuildLightMaps, ParamList`1 InMapsToRebuildHLOD, ParamList`1 TitleID) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\ProjectParams.cs:line 1223
at BuildCookRun.SetupParams() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 49
at BuildCookRun.ExecuteBuild() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 40
at AutomationTool.BuildCommand.Execute() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 344
at AutomationTool.BuildCommand.ExecuteAsync() in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 353
at AutomationTool.Automation.ExecuteAsync(List`1 CommandsToExecute, Dictionary`2 Commands) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 257
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in D:\build\++UE5\Sync\Engine\Saved\CsTools\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 156
==============================================================================
AutomationTool executed for 0h 0m 0s
AutomationTool exiting with ExitCode=1 (Error_Unknown)