RimWorld

RimWorld

[LC]AutoPatcher
Hi found a red error with this mod
[HugsLib][ERR] Lecris.AutoPatcher caused an exception during OnDefsLoaded: System.ArgumentException: An item with the same key has already been added. Key: Milk
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at ToolsFramework.AutoPatcher.JobDef_EndNode+<>c__DisplayClass0_2.<Perform>b__10 (Verse.JobDef t) [0x00000] in <34927416c4b6490dafb78d524ad64d9d>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <20181e2d55204880a56a9120ef04a53d>:0
at ToolsFramework.AutoPatcher.JobDef_EndNode.Perform (AutoPatcher.Node node) [0x001ce] in <34927416c4b6490dafb78d524ad64d9d>:0
at AutoPatcher.Node.Perform () [0x00000] in <4934c3ca970e447794961d0181156ff3>:0
at AutoPatcher.PatchTreeDef.Perform (AutoPatcher.Node node) [0x0008b] in <4934c3ca970e447794961d0181156ff3>:0
at AutoPatcher.PatchTreeDef.Perform (AutoPatcher.Node node) [0x00289] in <4934c3ca970e447794961d0181156ff3>:0
at AutoPatcher.PatchTreeDef.Perform (AutoPatcher.Node node) [0x00289] in <4934c3ca970e447794961d0181156ff3>:0
at AutoPatcher.PatchTreeDef.<Perform>b__9_0 (AutoPatcher.Node t) [0x00000] in <4934c3ca970e447794961d0181156ff3>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <20181e2d55204880a56a9120ef04a53d>:0
at AutoPatcher.PatchTreeDef.Perform () [0x00029] in <4934c3ca970e447794961d0181156ff3>:0
at (wrapper dynamic-method) AutoPatcher.Controller.AutoPatcher.Controller.DefsLoaded_Patch2(AutoPatcher.Controller)
at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <e4b32d84f714481f906e5eea5e560e3b>:0
Verse.Log:Verse.Log.Error_Patch2(String, Boolean)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:HugsLib.HugsLibController.LoadReloadInitialize_Patch1(HugsLibController)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()

https://gist.github.com/0e188486a4d5c97c8dddfc4e43dac724
< >
Showing 1-1 of 1 comments
Hades the King 15 Jun, 2021 @ 10:00am 
Either this harmony,ToolsFramework, or hugslibs is causing this
< >
Showing 1-1 of 1 comments
Per page: 1530 50