RimWorld

RimWorld

Real Ruins
Axeometric 7 Jun, 2023 @ 1:29pm
POI ruins fail to generate a map when entered
Hello all, I've had this error for a while and after looking and reading many of the bugs surrounding Real ruins non seem to fit my particular issue (that I can understand at least)

With every POI ruin on the world map, such as warehouses, camps, factories, whenever I have a caravan try to enter, a map will generate but it will be completely devoid of anything interesting, essentially a regular ol' vanilla map with the following red error. Thanks for any insight or posts that I might have missed/misunderstood.

Error in GenStep: System.NullReferenceException: Object reference not set to an instance of an object
at RealRuins.GenStep_ScatterPOIRuins.Generate (Verse.Map map, Verse.GenStepParams parms) [0x002c0] in <ecd4f075030b40bda18e91c93acf8507>:0
at (wrapper dynamic-method) Verse.MapGenerator.Verse.MapGenerator.GenerateContentsIntoMap_Patch1(System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.MapGenerator:Verse.MapGenerator.GenerateContentsIntoMap_Patch1 (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int)
(wrapper dynamic-method) Verse.MapGenerator:Verse.MapGenerator.GenerateMap_Patch4 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,RimWorld.WorldObjectDef)
RealRuins.CaravanArrivalAction_VisitRealRuinsPOI:DoArrivalAction (RimWorld.Planet.Caravan)
RealRuins.CaravanArrivalAction_VisitRealRuinsPOI/<>c__DisplayClass6_0:<Arrived>b__0 ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()