Jump to content

System.ArgumentException An item with the same key has already been added


hery.jumansyah
  • Branch: Live Branch Version: Windows Pending

today i start my game and suddenly crash after klei logo with this note on more info and fresh start game from scratch :

[PLib/HEPWallBridge] System.ArgumentException An item with the same key has already been added . Key: Common, Version=3.2.1.0, Culture=neutral, PublicKeyToken=null   at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <695d1cc93cca45069c528c15c9fdd749>:0
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
  at PeterHan.PLib.Core.PUtil.CreateAssemblyToModTable () [0x00090] in <475f7176f6bf4e34ba3a0e1b68e8ca06>:0
  at PeterHan.PLib.Options.POptions.Initialize (HarmonyLib.Harmony plibInstance) [0x00011] in <475f7176f6bf4e34ba3a0e1b68e8ca06>:0
  at PeterHan.PLib.Core.PRemoteComponent.DoInitialize (HarmonyLib.Harmony plibInstance) [0x00000] in <5723b971bf1e4795b8f03a836776b420>:0
  at PeterHan.PLib.Core.PRegistryComponent.Instantiate () [0x00071] in <5723b971bf1e4795b8f03a836776b420>:0

UnityEngine.Debug:LogErrorFormat (string,object[])
Debug:LogErrorFormat (string,object[]) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Debug.cs:162)
PeterHan.PLib.Core.PUtil:LogException (System.Exception)
PeterHan.PLib.Core.PRegistryComponent:Instantiate ()
PeterHan.PLib.Core.PRegistryComponent:ApplyLatest ()
(wrapper dynamic-method) KMod.Mod:KMod.Mod.PostLoad_Patch1 (KMod.Mod,System.Collections.Generic.IReadOnlyList`1<KMod.Mod>)
KMod.Manager:Load (KMod.Content) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/Mods/Mods.cs:1534)
Global:Awake () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/Global.cs:404)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Transform)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.GameObject,string,bool,int) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/Util.cs:226)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.GameObject,string) (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/Plugins/Klei/util/Util.cs:198)
LaunchInitializer:Update () (at C:/jenkins_workspace/workspace/SimGame_Windows/game/Assets/scripts/game/LaunchInitializer.cs:67)

Build: 469473-D

 

and it will repeat occuring with other installed mods after i enabling mods the note is [PLib/<Mods Name>] System.ArgumentException An item with the same key has already been added


Steps to Reproduce
  1. start game
  2. crash after klei logo
  3. quit to desktop
  4. restart the game
  5. and this will continue crash after step 1



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...