RimWorld

RimWorld

Tunnel and underground
AerosAtar 26 Mar, 2024 @ 9:01am
Unable to generate map
I am having a similar issue to WilliamTSherman in the comments, though I am in 1.5Unstable. If I go to the blank map that shows up in the colonist bar, I get spammed with:

Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object at Verse.MapDrawer.MapMeshDrawerUpdate_First () [0x00010] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.Map.MapUpdate () [0x000a0] in <377645fe45554dfa9fc93b8320f47d1e>:0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.Game.UpdatePlay_Patch1(Verse.Game) at Verse.Root_Play.Update () [0x00032] in <377645fe45554dfa9fc93b8320f47d1e>:0

If I try to send a colonist through the entrance, it just states "Entrance Blocked" no matter how many times it has been completed.

If I try to force the excavation completion via the Dev (God) Mode widget, I get the following:

Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object at Verse.RockNoises.Init (Verse.Map map) [0x0001a] in <377645fe45554dfa9fc93b8320f47d1e>:0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.MapGenerator.GenerateContentsIntoMap_Patch4(System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.MapGenerator.GenerateMap_Patch1(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) at QuestEditor_Library.GameTools.GenerateSubMap (Verse.IntVec3 size, RimWorld.Planet.PocketMapParent parent, Verse.MapGeneratorDef generatorDef, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, Verse.Map sourceMap) [0x00009] in <9a9f6b2893de490faca44f5875a698a4>:0 at Underground_Library.UndergroundEntrance+<>c__DisplayClass7_0.<GenerateCustomMap>b__0 () [0x00022] in <7114fd4f7364436c8dbc26338eb4ebec>:0 at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0 () [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 Generatem Map Error:System.NullReferenceException: Object reference not set to an instance of an object at Verse.RockNoises.Init (Verse.Map map) [0x0001a] in <377645fe45554dfa9fc93b8320f47d1e>:0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.MapGenerator.GenerateContentsIntoMap_Patch4(System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.MapGenerator.GenerateMap_Patch1(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) at QuestEditor_Library.GameTools.GenerateSubMap (Verse.IntVec3 size, RimWorld.Planet.PocketMapParent parent, Verse.MapGeneratorDef generatorDef, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, Verse.Map sourceMap) [0x00009] in <9a9f6b2893de490faca44f5875a698a4>:0 at Underground_Library.UndergroundEntrance+<>c__DisplayClass7_0.<GenerateCustomMap>b__0 () [0x00022] in <7114fd4f7364436c8dbc26338eb4ebec>:0 at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0 () [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 Exception while rebuilding dirty regions: System.NullReferenceException: Object reference not set to an instance of an object. at PathfindingFramework.Patches.RegionPathfinding.RegionTypeUtility_GetExpectedRegionType_Patch.Postfix (Verse.RegionType& __result, Verse.IntVec3 c, Verse.Map map) [0x00010] in <f86b331144524000833aafcd7aabfecf>:0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.RegionTypeUtility.GetExpectedRegionType_Patch1(Verse.IntVec3,Verse.Map) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.RegionMaker.TryGenerateRegionFrom_Patch1(Verse.RegionMaker,Verse.IntVec3) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Verse.RegionAndRoomUpdater.RegenerateNewRegionsFromDirtyCells_Patch0(Verse.RegionAndRoomUpdater) at Verse.RegionAndRoomUpdater.TryRebuildDirtyRegionsAndRooms () [0x00041] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.Map.MapUpdate () [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0 at Verse.Game.UpdatePlay () [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0 - POSTFIX net.pardeike.rimworld.mods.achtung: Void AchtungMod.Game_UpdatePlay_Patch:Postfix() at Verse.Root_Play.Update () [0x00000] in <377645fe45554dfa9fc93b8320f47d1e>:0
< >
Showing 1-2 of 2 comments
Sentient_Worm 27 Mar, 2024 @ 11:29pm 
Generatem Map Error:System.NullReferenceException: Object reference not set to an instance of an object
at VFECore.World_NaturalRockTypesIn_Patch.Postfix (System.Collections.Generic.IEnumerable`1[T] rocks, System.Int32 tile, RimWorld.Planet.World __instance) [0x0000d] in <d140fae51ee34235abe832a274658113>:0
at RimWorld.Planet.World.NaturalRockTypesIn (System.Int32 tile) [0x000d4] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
- POSTFIX OskarPotocki.VFECore: IEnumerable`1 VFECore.World_NaturalRockTypesIn_Patch:Postfix(IEnumerable`1 rocks, Int32 tile, World __instance)
at Verse.RockNoises.Init (Verse.Map map) [0x00015] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
at Verse.MapGenerator.GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1[T] genStepDefs, Verse.Map map, System.Int32 seed) [0x00054] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
- PREFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateContentsIntoMap_Patch:Prefix(IEnumerable`1& genStepDefs, Map map, Int32 seed)
- PREFIX QF_Patch: Boolean QuestEditor_Library.Patch_ExtraGenStepDefs:postfix(IEnumerable`1& genStepDefs)
at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x00277] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result)
at QuestEditor_Library.GameTools.GenerateSubMap (Verse.IntVec3 size, RimWorld.Planet.PocketMapParent parent, Verse.MapGeneratorDef generatorDef, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, Verse.Map sourceMap) [0x00009] in <9a9f6b2893de490faca44f5875a698a4>:0
at Underground_Library.UndergroundEntrance+<>c__DisplayClass7_0.<GenerateCustomMap>b__0 () [0x00022] in <7114fd4f7364436c8dbc26338eb4ebec>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00000] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
at Verse.LongEventHandler+<>c.<UpdateCurrentAsynchronousEvent>b__28_0 () [0x00000] in <4aee7b719ae7440d8cf86cb7506a32d0>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0


My log and I'm also on 1.5 unstable
Last edited by Sentient_Worm; 27 Mar, 2024 @ 11:30pm
AerosAtar 8 Apr, 2024 @ 3:52am 
I think I've narrowed it down to an issue with the Custom Quest Framework - it seems to conflict with (all?) other mods that patch the same methods it does. I have posted to let the author know.
Last edited by AerosAtar; 8 Apr, 2024 @ 5:03am
< >
Showing 1-2 of 2 comments
Per page: 1530 50