RimWorld

RimWorld

Decaying Structures
lol 9 Nov, 2023 @ 8:16pm
Red errors on startup
Caught a number of errors on startup, hope it could be of help for some bug fixing: https://gist.github.com/HugsLibRecordKeeper/47ed2e0f766299d0494523ca8d3cede0 . Didn't actually break anything, at least yet :)


No modlist change, just a save/load.


For example one of the "yellow":

Trying to get valid region at (134, 0, 106) but RegionAndRoomUpdater is disabled. The result may be incorrect. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.RegionGrid:GetValidRegionAt (Verse.IntVec3) Verse.RegionAndRoomQuery:RegionAt (Verse.IntVec3,Verse.Map,Verse.RegionType) Verse.RegionAndRoomQuery:DistrictAt (Verse.IntVec3,Verse.Map,Verse.RegionType) Verse.RegionAndRoomQuery:GetDistrict (Verse.Thing,Verse.RegionType) Verse.RegionAndRoomQuery:GetRoom (Verse.Thing,Verse.RegionType) DecayingStructures.OptionsExtensionMethods:IsOutside (Verse.Thing) DecayingStructures.Options:ShouldAffectThing (Verse.Thing) DecayingStructures.Ticker:Add (Verse.Thing) DecayingStructures.AddItemHook:SpawnSetup (Verse.Thing) (wrapper dynamic-method) Verse.Thing:Verse.Thing.SpawnSetup_Patch4 (Verse.Thing,Verse.Map,bool) (wrapper dynamic-method) Verse.ThingWithComps:Verse.ThingWithComps.SpawnSetup_Patch1 (Verse.ThingWithComps,Verse.Map,bool) (wrapper dynamic-method) Verse.Building:Verse.Building.SpawnSetup_Patch1 (Verse.Building,Verse.Map,bool) (wrapper dynamic-method) Verse.GenSpawn:Verse.GenSpawn.Spawn_Patch3 (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool) Verse.GenSpawn:SpawnBuildingAsPossible (Verse.Building,Verse.Map,bool) (wrapper dynamic-method) Verse.Map:Verse.Map.FinalizeLoading_Patch1 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.LoadGame_Patch5 (Verse.Game) (wrapper dynamic-method) Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch3 (string) Verse.Root_Play/<>c:<Start>b__1_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>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 ()


And the red following:

Exception spawning loaded thing TableButcher268059: System.ArgumentNullException: key Parameter name: Null key at System.Runtime.CompilerServices.ConditionalWeakTable`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at MergeZones.Undo.UpdateBillZones (RimWorld.Bill_Production bill) [0x00010] in <9e36ffbc9d9c4cf481659a3a2023980b>:0 at MergeZones.Patch_UpdateBills.ValidateSettings (RimWorld.Bill_Production __instance) [0x00000] in <9e36ffbc9d9c4cf481659a3a2023980b>:0 at (wrapper dynamic-method) RimWorld.Bill_Production.RimWorld.Bill_Production.ValidateSettings_Patch1(RimWorld.Bill_Production) at RimWorld.Building_WorkTable.SpawnSetup (Verse.Map map, System.Boolean respawningAfterLoad) [0x0004c] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at (wrapper dynamic-method) Verse.GenSpawn.Verse.GenSpawn.Spawn_Patch3(Verse.Thing,Verse.IntVec3,Verse.Map,Verse.Rot4,Verse.WipeMode,bool) at Verse.GenSpawn.SpawnBuildingAsPossible (Verse.Building building, Verse.Map map, System.Boolean respawningAfterLoad) [0x000f9] in <0f44124915ec469b8a0ef6daf05b1c19>:0 at (wrapper dynamic-method) Verse.Map.Verse.Map.FinalizeLoading_Patch1(Verse.Map) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string) (wrapper dynamic-method) Verse.Map:Verse.Map.FinalizeLoading_Patch1 (Verse.Map) (wrapper dynamic-method) Verse.Game:Verse.Game.LoadGame_Patch5 (Verse.Game) (wrapper dynamic-method) Verse.SavedGameLoaderNow:Verse.SavedGameLoaderNow.LoadGameFromSaveFileNow_Patch3 (string) Verse.Root_Play/<>c:<Start>b__1_1 () Verse.LongEventHandler:RunEventFromAnotherThread (System.Action) Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>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 ()
< >
Showing 1-1 of 1 comments
lol 9 Nov, 2023 @ 8:19pm 
Aaand I guess it seems that it could be a MergeZones related bug, right?
< >
Showing 1-1 of 1 comments
Per page: 1530 50