SineSwiper / RimWorld-XenobionicPatcher

Fix surgical operations to work with all of your bionics, implants, animals, humans, aliens
Artistic License 2.0
4 stars 3 forks source link

Mod fails to execute on game startup #13

Closed maunisphiehouse closed 2 years ago

maunisphiehouse commented 2 years ago

[HugsLib][ERR] XenobionicPatcher caused an exception during OnDefsLoaded: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.Dictionary2+KeyCollection+Enumerator[TKey,TValue].MoveNext () [0x00013] in <eae584ce26bc40229c1b1aa476bfa589>:0 at XenobionicPatcher.DefInjectors.InjectSurgeryRecipes (System.Collections.Generic.List1[T] surgeryList, System.Collections.Generic.List`1[T] pawnList) [0x00f36] in <51b55d89af12431fa6285344fe3583b2>:0 at XenobionicPatcher.Base.DefsLoaded () [0x007c2] in <51b55d89af12431fa6285344fe3583b2>:0 at HugsLib.HugsLibController.OnDefsLoaded () [0x0001a] in <4dd8a30b2ddc479e878b55ffe02db6e8>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) HugsLib.Utils.ModLogger:ReportException (System.Exception,string,bool,string) HugsLib.HugsLibController:OnDefsLoaded () (wrapper dynamic-method) HugsLib.HugsLibController:HugsLib.HugsLibController.LoadReloadInitialize_Patch1 (HugsLib.HugsLibController) (wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch1 (System.Action) Verse.LongEventHandler/<>c:b__27_0 () System.Threading.ThreadHelper:ThreadStart_Context (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) System.Threading.ThreadHelper:ThreadStart ()

maunisphiehouse commented 2 years ago

Harvest everything was the problem