UnlimitedHugs / RimworldMapReroll

An interface mod for Rimworld that allows to randomize your starting map at the push of a button.
https://ludeon.com/forums/index.php?topic=18073
MIT License
16 stars 9 forks source link

crash #9

Open shentino opened 3 years ago

shentino commented 3 years ago

Trying to reroll the map crashed the game and dumped me back to the main menu.

Command line arguments: -logfile /tmp/rimworld_log_1000 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) Verse.Root:CheckGlobalInit () Verse.Root:Start () Verse.Root_Entry:Start ()

RimWorld 1.3.3159 rev756 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) RimWorld.VersionControl:LogVersionNumber () Verse.Root:CheckGlobalInit () Verse.Root:Start () Verse.Root_Entry:Start ()

[HugsLib] version 9.0.1 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) HugsLib.Utils.ModLogger:Message (string,object[]) HugsLib.HugsLibController:InitializeController () HugsLib.HugsLibController:EarlyInitialize () HugsLib.Core.HugsLibMod:.ctor (Verse.ModContentPack) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) System.Reflection.MonoCMethod:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&) System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) System.Activator:CreateInstance (System.Type,object[]) Verse.LoadedModManager:CreateModClasses () Verse.LoadedModManager:LoadAllActiveMods () Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (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 ()

[HugsLib] early-initializing AllowTool UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) HugsLib.Utils.ModLogger:Message (string,object[]) HugsLib.HugsLibController:EnumerateChildMods (bool) HugsLib.HugsLibController:EarlyInitializeChildMods () HugsLib.HugsLibController:InitializeController () HugsLib.HugsLibController:EarlyInitialize () HugsLib.Core.HugsLibMod:.ctor (Verse.ModContentPack) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) System.Reflection.MonoCMethod:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.Reflection.MonoCMethod:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&) System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[]) System.Activator:CreateInstance (System.Type,object[]) Verse.LoadedModManager:CreateModClasses () Verse.LoadedModManager:LoadAllActiveMods () Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (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 ()

Key binding conflict: MainTab_MedicalTab and Misc7 are both bound to M. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.KeyPrefsData:ErrorCheckOn (Verse.KeyBindingDef,Verse.KeyPrefs/BindingSlot) Verse.KeyPrefsData:ErrorCheck () Verse.KeyPrefs:Init () Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (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 ()

Key binding conflict: Misc7 and MainTab_MedicalTab are both bound to M. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.KeyPrefsData:ErrorCheckOn (Verse.KeyBindingDef,Verse.KeyPrefs/BindingSlot) Verse.KeyPrefsData:ErrorCheck () Verse.KeyPrefs:Init () Verse.PlayDataLoader:DoPlayLoad () Verse.PlayDataLoader:LoadAllPlayData (bool) Verse.Root/<>c:b__6_1 () Verse.LongEventHandler:RunEventFromAnotherThread (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 ()

TradingControl :: 21.7.14.28171 :: #0 - Starting Harmony Patch... UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

TradingControl :: 21.7.14.28171 :: #1 - Adding Dismissal button. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

TradingControl :: 21.7.14.28171 :: #2 - Patching Toils (Job Manager) UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

TradingControl :: 21.7.14.28171 :: #3 - Patching Orbital Drop Sites UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

TradingControl :: 21.7.14.28171 :: ## - Harmony Patches Applied UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

TradingControl :: 21.7.14.28171 :: ## - No further Patches detected.. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) TradingControl.functions.LogHandler:LogInfo (string) TradingControl.Harmonize.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

Medical Tab :: Tag Tongue is not associated with any pawnCapacity. This may be intentional. For modders; if the tag defName contains the capacity defName the two will be linked. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Fluffy.CapacityUtility:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

[ColorCodedMoodBar] ColorCodedMoodBar initialized for RimWorld v1.1 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) MoodBarPatch.Main:LogMessage (string) MoodBarPatch.Main:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

JP_PP: v.1.3.4 Loading.. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) PerfectPathing.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

JP_PP: Light Patch Enabled UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) PerfectPathing.HarmonyPatches:.cctor () System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle) Verse.StaticConstructorOnStartupUtility:CallAll () Verse.PlayDataLoader/<>c:b__4_3 () Verse.LongEventHandler:ExecuteToExecuteWhenFinished () Verse.LongEventHandler:UpdateCurrentAsynchronousEvent () Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

[HugsLib] initializing HeatMap, com.github.alandariva.moreplanning, com.jkluch.HaulToStack, MapReroll UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) HugsLib.Utils.ModLogger:Message (string,object[]) HugsLib.HugsLibController:EnumerateChildMods (bool) HugsLib.HugsLibController:LoadReloadInitialize () Verse.LongEventHandler:RunEventFromAnotherThread (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 ()

[MapReroll] Applied Prepare Carefully compatibility layer. Note: removing Prepare Carefully after starting a new game will now cause errors, but these can be safely ignored. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Message (string) HugsLib.Utils.ModLogger:Message (string,object[]) MapReroll.Compat.Compat_PrepareCarefully:ApplyCompatibilityLayer (HarmonyLib.Harmony) MapReroll.Compat.Compat_PrepareCarefully/<>c__DisplayClass2_0:b__0 () HugsLib.Utils.DoLaterScheduler:InvokeCallbacks (System.Collections.Generic.Queue`1) HugsLib.Utils.DoLaterScheduler:OnUpdate () HugsLib.HugsLibController:OnUpdate () HugsLib.Patches.Root_Patch:UpdateHook () (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Entry:Update ()

Loading game from file Laourithler Pact (Permadeath) with mods:

Initializing new game with mods:

Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object at AnimalTab.MainTabWindow_Animals.RecachePawns () [0x00006] in :0 at AnimalTab.MainTabWindow_Animals.get_AllPawns () [0x00008] in :0 at AnimalTab.MainTabWindow_Animals.get_Pawns () [0x00008] in :0 at RimWorld.MainTabWindow_PawnTable.b17_0 () [0x00000] in :0 at RimWorld.PawnTable.RecachePawns () [0x0000b] in :0 at RimWorld.PawnTable.RecacheIfDirty () [0x00010] in :0 at RimWorld.PawnTable.get_Size () [0x00000] in :0 at RimWorld.MainTabWindow_PawnTable.get_RequestedTabSize () [0x0000e] in :0 at RimWorld.MainTabWindow.get_InitialSize () [0x00000] in :0 at Verse.Window.SetInitialSizeAndPosition () [0x00000] in :0 at RimWorld.MainTabWindow.SetInitialSizeAndPosition () [0x00000] in :0 at AnimalTab.MainTabWindow_Animals.SetInitialSizeAndPosition () [0x00000] in :0 at RimWorld.MainTabWindow_PawnTable.SetDirty () [0x0000b] in :0 at RimWorld.MainTabWindow_PawnTable.PostOpen () [0x0001a] in :0 at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in :0 at RimWorld.MainTabsRoot.ToggleTab (RimWorld.MainButtonDef newTab, System.Boolean playSound) [0x0006b] in :0 at RimWorld.MainTabsRoot.SetCurrentTab (RimWorld.MainButtonDef tab, System.Boolean playSound) [0x0000a] in :0 at (wrapper dynamic-method) RimWorld.MapInterface.RimWorld.MapInterface.Notify_SwitchedMap_Patch1(RimWorld.MapInterface) at Verse.Game.set_CurrentMap (Verse.Map value) [0x00039] in :0 at (wrapper dynamic-method) Verse.Game.Verse.Game.DeinitAndRemoveMap_Patch1(Verse.Game,Verse.Map) at MapReroll.RerollToolbox.DiscardFactionBase (RimWorld.Planet.MapParent mapParent) [0x0000b] in <9d47e862ce99494ea06519b173a182e3>:0 at MapReroll.RerollToolbox+<>cDisplayClass2_0.b__0 () [0x000a1] in <9d47e862ce99494ea06519b173a182e3>:0 at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0001d] in :0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()