Package failed after project clone

LogSavePackage: Save=3758.01ms
LogSavePackage: Moving ‘D:/Unreal/Portico2/Saved/UEDPCFirstPersonExampleMap3103F5D0469C9F02B389DE8203682AE7.tmp’ to ‘D:/Unreal/Portico2/Saved/Autosaves/Game/FirstPersonBP/Maps/UEDPCFirstPersonExampleMap.umap’
LogSavePackage:Display: Finished SavePackage D:/Unreal/Portico2/Saved/Autosaves/Game/FirstPersonBP/Maps/UEDPCFirstPersonExampleMap.umap
LogEditorTransaction: Undo Spawn Play From Here Start
UATHelper: Packaging (Windows (64-bit)): Running AutomationTool…
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/Unreal/Portico2/Portico2.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/Unreal/Portico2/Portico2.uproject -cook -stage -archive -archivedirectory=“D:/Portico/Yeni klasör (2)” -package -clientconfig=Development -ue4
exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\Unreal\Portico2\Portico2.uproject
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: System.ArgumentException: Aynı anahtara sahip öğe zaten eklenmiş.
UATHelper: Packaging (Windows (64-bit)): konum: System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
UATHelper: Packaging (Windows (64-bit)): konum: System.Collections.Generic.Dictiona
UATHelper: Packaging (Windows (64-bit)): ry2.Insert(TKey key, TValue value, Boolean add) UATHelper: Packaging (Windows (64-bit)): konum: System.Collections.Generic.Dictionary2.Add(TKey key, TValue value)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectUtils.CompileAndLoadTargetsAssembly(ProjectProperties Properties, FileReference TargetsDllFilename, Boolean DoNotCompile, List1 TargetScripts) UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectUtils.DetectTargetsForProject(ProjectProperties Properties, List1 ExtraSearchPaths)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectUtils.DetectProjectProperties(FileReference RawProjectPath, List1 ClientTargetPlatforms, Boolean AssetNativizationRequested) UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectUtils.GetProjectProperties(FileReference RawProjectPath, List1 ClientTargetPlatforms, Boolean AssetNativizationRequested)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectParams.AutodetectSettings(Boolean bReset)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.ProjectParams…ctor(FileReference RawProjectPath, CommandUtils Command, String Device, String MapToRun, String AdditionalServerMapParams, ParamList1 Port, String RunCommandline, String StageCommandline, String BundleName, String StageDirectoryParam, String UE4Exe, String SignPak, List1 Clien
tConfigsToBuild, List1 ServerConfigsToBuild, ParamList1 MapsToCook, ParamList1 DirectoriesToCook, String InternationalizationPreset, ParamList1 CulturesToCook, ParamList1 ClientCookedTargets, ParamList1 EditorTargets, ParamList1 ServerCookedTargets, List1 ClientTargetPlatforms, Dictionary2 ClientDependentPlatformMap, List1 ServerTargetPlatforms, Di
ctionary2 ServerDependentPlatformMap, Nullable1 Build, Nullable1 Cook, Nullable1 Run, Nullable1 SkipServer, Nullable1 Clean, Nullable1 Compressed, Nullable1 UseDebugParamForEditorExe, Nullable1 IterativeCooking, Nullable1 CookAll, Nullable1 CookMapsOnly, Nullable1 CookOnTheFly, Nullable1 CookOnTheFlyStreaming, Nullable1 UnversionedCookedContent
, Nullable1 EncryptIniFiles, Nullable1 SkipCookingEditorContent, Nullable1 NumCookersToSpawn, String AdditionalCookerOptions, String BasedOnReleaseVersion, String CreateReleaseVersion, String CreateReleaseVersionBasePath, String BasedOnReleaseVersionBasePath, Nullable1 GeneratePatch, String DLCName, String DiffCookedContentPath, Nullable1 DLCIncludeEngi neContent, Nullable1 NewCook, Nullable1 OldCook, Nullable1 CrashReporter, Nullable1 DedicatedServer, Nullable1 Client, Nullable1 Deploy, Nullable1 FileServer, Nullable1 Foreign, Nullable1 ForeignCode, Nullable1 LogWindow, Nullable1 NoCleanStage, Nullable1 NoClient, Nullable1 NoDebugInfo, Nullable1 NoXGE, Nullable1 Package, Nullable1 Pak, Null able1 Prereqs, String AppLocalDirectory, Nullable1 NoBootstrapExe, Nullable1 SignedPak, Nullable1 NullRHI, Nullable1 FakeClient, Nullable1 EditorTest, Nullable1 RunAutomationTests, String RunAutomationTest, Nullable1 CrashIndex, Nullable1 SkipCook, Nullable1 SkipCookOnTheFly, Nullable1 SkipPak, Nullable1 SkipStage, Nullable1 Stage, Nullable1 Ma nifests, Nullable1 CreateChunkInstall, Nullable1 Unattended, Nullable1 NumClients, Nullable1 Archive, String ArchiveDirectoryParam, Nullable1 ArchiveMetaData, Nullable1 CreateAppBundle, ParamList1 ProgramTargets, Nullable1 Distribution, Nullable1 Prebuilt, Nullable1 RunTimeoutSeconds, String SpecifiedArchitecture, Nullable1 IterativeDeploy, Nullab
le1 FastCook, Nullable1 IgnoreCookErrors, Nullable1 RunAssetNativization, Nullable1 CodeSign, Nullable1 TreatNonShippingBinariesAsDebugFiles, Nullable1 UploadSymbols, String Provision, String Certificate, ParamList1 InMapsToRebuildLightMaps, ParamList1 TitleID)
UATHelper: Packaging (Windows (64-bit)): konum: BuildCookRun.SetupParams()
UATHelper: Packaging (Windows (64-bit)): konum: BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.Program.MainProc(Object )
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object )
UATHelper: Packaging (Windows (64-bit)): konum: AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

This is the messeage log from failed build. I have a project which has the first person pawn. I want to include VR in my project too. So I migrated VR Pawn from VR Template. I can package my project like this. But there are lots of issues with VR so I cloned my project and I will use that cloned project for only VR. (Because input axis from gamepad and motion controller get mess up and teleportation wont work if first person pawn inputs are present) So after I clone it I got this error. I didnt do anything else. Just cloned it and packaged it. After this error I tried to package original project and I can package that perfectly. But I cant package cloned project.

Hello Monster1234,

I was unable to reproduce this issue on our end. I have a few questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. Can you reproduce this issue in a clean project?
  2. If so, could you provide a detailed list of steps to reproduce this issue on our end?
  3. Could you provide screen shots of any settings that may be involved?
  4. Could you provide the complete log that is generated when trying to package?

Q1. I just tried it on First Person Template. Packaged it for windows 64bit succesfully. Didnt do anything else in project. Then cloned it in launcher. I got this warning. Packaged it as soon as it opened. It failed.

Q2. Steps for my original project:

a. Clone it

b. Got the same warning (didnt care about it at first)

c. I did some changes in my project and my config folder (I got the scalability and input settings .ini from vr template)

d. Package>Fail (First Clone) (I remember that when I was changing some things in level it compiled shaders)

e. Cloned it again. (Thought it might have happend because of .ini settings or compile warning)

d. Package>Fail (Second Clone) (I didnt give it time to compile shaders. Packaged it as soon as possible to see if its caused by compile warning)

f. Verify 4.13

g. Clone>Package>Fail. Then I posted question

Q3. I cant think of any package settings involved. I dont mess around with them up until shippng stage and it failed on clean project too. If there is anything comes to your mind I can take ss.

Q4. [link text][2] Complete log on clean project.

I was unable to reproduce this issue on our end with the information provided. After reading over the logs I noticed that you are receiving the error " Aynı anahtara sahip öğe zaten eklenmiş. (item with the same key has already been added.)" I have provided a link to a user with a similar issue. You will notice that there are a few links to separate solutions for this error message. Could you take a look at these threads and let me know if any of them help?

Link: Package Error 4.12.5 - World Creation - Epic Developer Community Forums

It worked. Thank you