cseelhoff / RimThreaded

RimThreaded is a RimWorld mod designed to enable RimWorld to utilize multiple threads.
MIT License
119 stars 21 forks source link

[SOS2+Bad Hygiene]Ship hull spontaneously deconstructs `Trying to get valid region at (139, 0, 207) but RegionAndRoomUpdater is disabled.` #711

Open sealvessel opened 2 years ago

sealvessel commented 2 years ago

Describe the bug

Ship hull and turrets spontaneously deconstruct around the map

Steps to reproduce the behavior (VERY IMPORTANT)

  1. Load this save file.
  2. See that ship hull in various regions spontaneously deconstruct due to "Trying to get valid region (x, y) but RegionAndRoomUpdater is enabled.

Error Logs

Trying to get valid region at (139, 0, 207) but RegionAndRoomUpdater is disabled. The result may be incorrect.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
RimThreaded.RegionGrid_Patch:GetValidRegionAt (Verse.RegionGrid,Verse.Region&,Verse.IntVec3)
(wrapper dynamic-method) Verse.RegionGrid:Verse.RegionGrid.GetValidRegionAt_Patch1 (Verse.RegionGrid,Verse.IntVec3)
Verse.RegionAndRoomQuery:RegionAt (Verse.IntVec3,Verse.Map,Verse.RegionType)
Verse.RegionAndRoomQuery:DistrictAt (Verse.IntVec3,Verse.Map,Verse.RegionType)
Verse.RegionAndRoomQuery:RoomAt (Verse.IntVec3,Verse.Map,Verse.RegionType)
Verse.GridsUtility:GetRoom (Verse.IntVec3,Verse.Map)
Verse.GenPlace:PlaceSpotQualityAt (Verse.IntVec3,Verse.Rot4,Verse.Map,Verse.Thing,Verse.IntVec3,bool,System.Predicate`1<Verse.IntVec3>)
Verse.GenPlace:TryFindPlaceSpotNear (Verse.IntVec3,Verse.Rot4,Verse.Map,Verse.Thing,bool,Verse.IntVec3&,System.Predicate`1<Verse.IntVec3>)
Verse.GenPlace:TryPlaceThing (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,Verse.Rot4)
Verse.GenDrop:TryDropSpawn (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,bool)
Verse.ThingOwner:TryDrop (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>,bool)
Verse.ThingOwner`1<Verse.Thing>:TryDrop (Verse.Thing,Verse.IntVec3,Verse.Map,Verse.ThingPlaceMode,Verse.Thing&,System.Action`2<Verse.Thing, int>,System.Predicate`1<Verse.IntVec3>)
RimWorld.GenLeaving:DoLeavingsFor (Verse.Thing,Verse.Map,Verse.DestroyMode,Verse.CellRect,System.Predicate`1<Verse.IntVec3>,System.Collections.Generic.List`1<Verse.Thing>)
Verse.GenSpawn:Refund (Verse.Thing,Verse.Map,Verse.CellRect)
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)
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow (string)
Verse.Root_Play/<>c:<Start>b__1_1 ()
(wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch1 (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 ()

Player.log

Player.log.zip

HugsLib log

https://gist.github.com/2412c964d3b0d4c6073d11649a4270d7)

Save file

Quicksave.rws.zip

Screenshots

Screen Shot 2021-11-12 at 10 15 52 image

Mod list (Preferably a RimPy compatible list.)