RimWorld

RimWorld

Ancient mining industry
Structure not generation
Hello, im currently on my second Odysee run, in my first run the structures spawned normally (I raided 2 without issue)

Now i made a new run with slightly bigger map size and i get a error when entering a map of this mod

This is the error

Error in GenStep: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 8651FE34]
at Vehicles.Patch_Construction.RegisterThingSpawned (Verse.Thing newThing, Verse.IntVec3& loc, Verse.Map map, Verse.Rot4& rot, Verse.Thing& __result, System.Boolean respawningAfterLoad) [0x0003f] in D:\SteamLibrary\steamapps\common\RimWorld\Mods\Vehicles\Source\Vehicles\Harmony\Patches\Patch_Construction.cs:161
at Verse.GenSpawn.Spawn (Verse.Thing newThing, Verse.IntVec3 loc, Verse.Map map, Verse.Rot4 rot, Verse.WipeMode wipeMode, System.Boolean respawningAfterLoad, System.Boolean forbidLeavings) [0x00057] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
- PREFIX VFEPirates.Mod: Boolean VFEPirates.GenSpawn_Spawn_Patch:Prefix(Thing& newThing, WipeMode& wipeMode, Boolean respawningAfterLoad)
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Patch_Construction:RegisterThingSpawned(Thing newThing, IntVec3& loc, Map map, Rot4& rot, Thing& __result, Boolean respawningAfterLoad)
- PREFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Prefix(Thing newThing, IntVec3 loc, Map map, Rot4 rot, Boolean respawningAfterLoad, Thing& __state)
- PREFIX Fortified: Boolean Fortified.Patch_Replace:Prefix(Thing& newThing, IntVec3 loc, Map map, Rot4 rot)
- POSTFIX vanillaexpanded.achievements: Void AchievementsExpanded.AchievementHarmony:ThingBuildingSpawned(Thing newThing, IntVec3 loc, Map map, Rot4 rot, WipeMode wipeMode, Boolean respawningAfterLoad, Boolean forbidLeavings)
- POSTFIX Uuugggg.rimworld.Replace_Stuff.main: Void Replace_Stuff.NewThing.TransferSettings:Postfix(Thing __result, Thing __state)
- POSTFIX Cabbage.RimCities: Void Cities.GenSpawn_Spawn:Postfix(Thing newThing, Map map)
at KCSG.SymbolUtils.GenerateBuildingAt (Verse.Map map, Verse.IntVec3 cell, KCSG.SymbolDef symbol, KCSG.StructureLayoutDef layout, RimWorld.Faction faction, Verse.ThingDef wallStuff) [0x003f9] in <f3cb894e648f4ccdb4d57a4ebd508d5b>:0
at KCSG.SymbolUtils.Generate (KCSG.SymbolDef symbol, KCSG.StructureLayoutDef layout, Verse.Map map, Verse.IntVec3 cell, RimWorld.Faction faction, Verse.ThingDef wallForRoom) [0x000f2] in <f3cb894e648f4ccdb4d57a4ebd508d5b>:0
at KCSG.LayoutUtils.Generate (KCSG.StructureLayoutDef layout, Verse.CellRect rect, Verse.Map map, RimWorld.Faction factionOverride, System.Boolean forceNullFaction) [0x0009a] in <f3cb894e648f4ccdb4d57a4ebd508d5b>:0
at KCSG.GenStep_CustomStructureGen.Generate (Verse.Map map, Verse.GenStepParams parms) [0x001d9] in <f3cb894e648f4ccdb4d57a4ebd508d5b>:0
at Verse.MapGenerator.GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1[T] genStepDefs, Verse.Map map, System.Int32 seed, System.Boolean stepDebugger) [0x0016a] in <d2f9716cc2ac4cda9c2a174cc147bf37>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.MapGenerator:GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch3 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool,bool)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (RimWorld.Planet.PlanetTile,Verse.IntVec3,RimWorld.WorldObjectDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,bool)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter_Patch0 (RimWorld.Planet.CaravanArrivalAction_VisitSite,RimWorld.Planet.Caravan,RimWorld.Planet.Site)
RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 ()
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch2 (Verse.Root)
Verse.Root_Play:Update ()