RimWorld

RimWorld

Error Loading Map - Modded
Today I started a new colony, running random scenario, and after going through the creation process it said it was generating the map, but after a minute or so it said an error occurred generating the map and to check the log.

I run a few mods. The most recent mod added was the Vehicle Expanded mod a week or two ago and I haven't had issues till now, so I don't know what mod is causing the issue.

The only thing I found in the log that appears to be an error is:

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 17132.
Total: 148.289612 ms (FindLiveObjects: 1.033700 ms CreateObjectMapping: 0.653300 ms MarkObjects: 146.575409 ms DeleteObjects: 0.026600 ms)

Spawning destroyed thing Vent9152 at (112, 0, 112). Correcting.

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Couldn't add thing Vent9152 to spawned things.

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Spawned thing with 0 stackCount: Vent9152

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Exception ticking ActiveDropPod9159. Suppressing further errors. Exception: System.ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index
at System.Collections.Generic.List`1[Verse.Thing].get_Item (Int32 index) [0x00000] in <filename unknown>:0
at Verse.ThingOwner`1[Verse.Thing].GetAt (Int32 index) [0x00000] in <filename unknown>:0
at Verse.ThingOwner.get_Item (Int32 index) [0x00000] in <filename unknown>:0
at RimWorld.ActiveDropPod.PodOpen () [0x00000] in <filename unknown>:0
at RimWorld.ActiveDropPod.Tick () [0x00000] in <filename unknown>:0
at Verse.TickList.Tick () [0x00000] in <filename unknown>:0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)


The Mods I run (in no particular order):

Vanilla Events Expanded
Floors are (almost) Worthless
Passive Cooler Don't Need Fuel
Harmony
More Medieval Helms and Armor
Megafauna
Research Reinvented
Vanilla Vehicles Expanded
Vanilla Chemfuel Expanded
[GMT] Trading Spot
Vanilla Fishing Expanded
VFE- Fishing Treasures
Vanilla Cooking Expanded
Process Neutroamine from Chemfuel
Ultratech Weapons Plus
Vanilla XCOM Chosen Weapons
Vanilla XCOM Magnetic Weapons
Vanilla XCOM Laser Weapons
Vanilla XCOM Weapons
Vanilla Cooking Expanded
Vanilla Cooking Expanded - Sushi
RocketMan
Alpha Animals
Vanilla Animals Expanded - Waste Animals
Vanilla Races Expanded - Waster
Vanilla Races Expanded - Highmate
Vanilla Races Expanded - Android
Vanilla Factions Expanded - Ancients
Alpha Biomes
Vanilla Expanded Framework
Biomes! Caverns
Geological Landforms
Biomes! Core
Vehicle Framework

I thought I'd ask here in case someone knows what is causing the error before I start disabling each mod one by one.
Originally posted by Bondrewd:
Found the problem of this whole dumb bug. It's the vehicle expanded mod. people are reporting it's making map fail to generate.
< >
Showing 1-6 of 6 comments
TripleJointed Sep 4, 2023 @ 8:37pm 
I also found this that also looks like an error:

[Geological Landforms v1.6.5] Map added on tile - TileId: 136516, Landforms: , BiomeVariants: , Topology: Inland, TopologyValue: 0, TopologyDirection: North (F)
RandomElementByWeight with totalWeight=0 - use TryRandomElementByWeight.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
at VFECore.MapGenerator_GenerateMap_Patch.GetThingDefToSpawn (VFECore.ObjectSpawnsDef element) [0x00050] in <6fdbfdf9465b435faeac30fcabe48516>:0
at VFECore.MapGenerator_GenerateMap_Patch.DoMapSpawns (Verse.Map map) [0x00114] in <6fdbfdf9465b435faeac30fcabe48516>:0
at VFECore.MapGenerator_GenerateMap_Patch.Postfix (Verse.Map __result) [0x00001] in <6fdbfdf9465b435faeac30fcabe48516>:0
at (wrapper dynamic-method) Verse.MapGenerator.Verse.MapGenerator.GenerateMap_Patch3(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
at (wrapper dynamic-method) Verse.Game.Verse.Game.InitNewGame_Patch0(Verse.Game)
at Verse.Root_Play+<>c.<Start>b__1_2 () [0x00011] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <95de19971c5d40878d8742747904cdcd>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 0 Unused Serialized files (Serialized files now loaded: 4)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 46173.
Total: 1049.405400 ms (FindLiveObjects: 2.572900 ms CreateObjectMapping: 4.079600 ms MarkObjects: 1042.675600 ms DeleteObjects: 0.077000 ms)

Unloading 2 Unused Serialized files (Serialized files now loaded: 4)
NullReferenceException: Object reference not set to an instance of an object
at Verse.Map.get_Index () [0x00005] in <95de19971c5d40878d8742747904cdcd>:0
at Vehicles.PathingHelper+<>c__DisplayClass22_0.<RecalculatePerceivedPathCostAt>b__1 () [0x00008] in <12bfb66b4f534704a837595fce7f2f0c>:0
at SmashTools.Performance.AsyncAction.get_IsValid () [0x00008] in <68df748a735e42f99a30320b7ef99d1e>:0
at SmashTools.Performance.DedicatedThread.Execute () [0x0001c] in <68df748a735e42f99a30320b7ef99d1e>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] 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) [0x0002b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)

(Filename: <95de19971c5d40878d8742747904cdcd> Line: 0)
Bondrewd Sep 4, 2023 @ 9:48pm 
I, too am having this problem.
Astasia Sep 4, 2023 @ 9:51pm 
Sort your subscribed mods by date updated, check the comments of the ones recently updated, if you don't see anyone else mentioning issues in any specific comments try to unsubscribe and resubscribe to the recently updated mods to make sure Steam didn't botch the update. Can't say anything more specific than that without a full hugslib log of the issue.
The author of this thread has indicated that this post answers the original topic.
Bondrewd Sep 5, 2023 @ 12:11am 
Found the problem of this whole dumb bug. It's the vehicle expanded mod. people are reporting it's making map fail to generate.
Bondrewd Sep 5, 2023 @ 12:11am 
technically the new update breaks the game
TripleJointed Sep 5, 2023 @ 11:51am 
Originally posted by Susie:
Found the problem of this whole dumb bug. It's the vehicle expanded mod. people are reporting it's making map fail to generate.
Thank you for that information. I checked out the discussions and the dev said he patched it recently.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Sep 4, 2023 @ 8:13pm
Posts: 6