RimWorld

RimWorld

MIM - WH40k Core
error logs in world generation
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object
[Ref D50E5B13]
at CombatExtended.LoadoutPropertiesExtension.<LoadWeaponWithRandAmmo>b__19_0 (CombatExtended.AmmoLink a) [0x00000] in <d4f808b7eac94548b83685e1520170fc>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.GenCollection.RandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector) [0x00115] in <69945a8ed6c540cf90b578de735e0605>:0
at CombatExtended.LoadoutPropertiesExtension.LoadWeaponWithRandAmmo (Verse.ThingWithComps gun) [0x00079] in <d4f808b7eac94548b83685e1520170fc>:0
at CombatExtended.LoadoutPropertiesExtension.GenerateLoadoutFor (Verse.Pawn pawn, System.Single biocodeWeaponChance) [0x000a4] in <d4f808b7eac94548b83685e1520170fc>:0
at CombatExtended.HarmonyCE.Harmony_PawnWeaponGenerator_TryGenerateWeaponFor.Postfix (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00039] in <d4f808b7eac94548b83685e1520170fc>:0
at RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00367] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX CombatExtended.HarmonyCE: Void CombatExtended.HarmonyCE.Harmony_PawnWeaponGenerator_TryGenerateWeaponFor:Postfix(Pawn pawn, PawnGenerationRequest request)
at Verse.PawnGenerator.GenerateGearFor (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x0001d] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Patch_PawnGenerator+GenerateGearFor:Postfix(Pawn pawn)
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x00e1d] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER VFEEmpire.Mod: IEnumerable`1 VFEEmpire.HarmonyPatches.Patch_PawnGenerator:Transpiler(IEnumerable`1 instructions)
- PREFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Prefix(PawnGenerationRequest request)
- POSTFIX VanillaExpanded.VFEA: Void VFEAncients.HarmonyPatches.PowerPatches:AddPowers(Pawn __result, PawnGenerationRequest request)
- POSTFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn& __result)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x0009d] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Abilities.PawnGen_Patch:Postfix(Pawn __result)
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.PawnGen_Patch:Postfix(Pawn __result, PawnGenerationRequest request)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00136] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnGenerationRequest request) [0x001c5] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Construction:GenerateVehiclePawn(PawnGenerationRequest request, Pawn& __result)
- POSTFIX Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_PawnGenerator_GeneratePawn:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX VFEPirates.Mod: Void VFEPirates.PawnGenerator_GeneratePawn_Patch:Postfix(Pawn __result)
at RimWorld.Faction.TryGenerateNewLeader () [0x00259] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001f0] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.FactionGenerator.CreateFactionAndAddToManager (RimWorld.FactionDef facDef) [0x0008e] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.FactionGenerator.AddFactionToManager (RimWorld.FactionDef facDef) [0x00000] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.FactionGenerator.GenerateFactionsIntoWorld (System.Collections.Generic.List`1[T] factions) [0x00013] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00005] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.Planet.WorldGenerator.GenerateWorld (System.Single planetCoverage, System.String seedString, RimWorld.Planet.OverallRainfall overallRainfall, RimWorld.Planet.OverallTemperature overallTemperature, RimWorld.Planet.OverallPopulation population, System.Collections.Generic.List`1[T] factions, System.Single pollution) [0x0010f] in <69945a8ed6c540cf90b578de735e0605>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)
RimWorld.Page_CreateWorldParams:<CanDoNext>b__19_0 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()

there are 2 error logs that dev mode spits out, I´ll send the second one too because idk if it´s relevant to the world gen issue or not


second one:

Error while generating pawn. Rethrowing. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 700DDD3]
at CombatExtended.LoadoutPropertiesExtension.<LoadWeaponWithRandAmmo>b__19_0 (CombatExtended.AmmoLink a) [0x00000] in <d4f808b7eac94548b83685e1520170fc>:0
at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].MoveNext () [0x00037] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.GenCollection.RandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector) [0x00115] in <69945a8ed6c540cf90b578de735e0605>:0
at CombatExtended.LoadoutPropertiesExtension.LoadWeaponWithRandAmmo (Verse.ThingWithComps gun) [0x00079] in <d4f808b7eac94548b83685e1520170fc>:0
at CombatExtended.LoadoutPropertiesExtension.GenerateLoadoutFor (Verse.Pawn pawn, System.Single biocodeWeaponChance) [0x000a4] in <d4f808b7eac94548b83685e1520170fc>:0
at CombatExtended.HarmonyCE.Harmony_PawnWeaponGenerator_TryGenerateWeaponFor.Postfix (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00039] in <d4f808b7eac94548b83685e1520170fc>:0
at RimWorld.PawnWeaponGenerator.TryGenerateWeaponFor (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00367] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX CombatExtended.HarmonyCE: Void CombatExtended.HarmonyCE.Harmony_PawnWeaponGenerator_TryGenerateWeaponFor:Postfix(Pawn pawn, PawnGenerationRequest request)
at Verse.PawnGenerator.GenerateGearFor (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x0001d] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Patch_PawnGenerator+GenerateGearFor:Postfix(Pawn pawn)
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x00e1d] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER VFEEmpire.Mod: IEnumerable`1 VFEEmpire.HarmonyPatches.Patch_PawnGenerator:Transpiler(IEnumerable`1 instructions)
- PREFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Prefix(PawnGenerationRequest request)
- POSTFIX VanillaExpanded.VFEA: Void VFEAncients.HarmonyPatches.PowerPatches:AddPowers(Pawn __result, PawnGenerationRequest request)
- POSTFIX VREAndroidsMod: Void VREAndroids.PawnGenerator_TryGenerateNewPawnInternal_Patch:Postfix(Pawn& __result)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x0009d] in <69945a8ed6c540cf90b578de735e0605>:0
- POSTFIX OskarPotocki.VFECore: Void VFECore.Abilities.PawnGen_Patch:Postfix(Pawn __result)
- POSTFIX OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.PawnGen_Patch:Postfix(Pawn __result, PawnGenerationRequest request)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00136] in <69945a8ed6c540cf90b578de735e0605>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnGenerationRequest request) [0x00035] in <69945a8ed6c540cf90b578de735e0605>:0
- PREFIX SmashPhil.VehicleFramework: Boolean Vehicles.Construction:GenerateVehiclePawn(PawnGenerationRequest request, Pawn& __result)
- POSTFIX Neronix17.TabulaRasa.RimWorld: Void TabulaRasa.Patch_PawnGenerator_GeneratePawn:Postfix(PawnGenerationRequest request, Pawn __result)
- POSTFIX VFEPirates.Mod: Void VFEPirates.PawnGenerator_GeneratePawn_Patch:Postfix(Pawn __result)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.PawnGenerator.GeneratePawn_Patch3 (Verse.PawnGenerationRequest)
RimWorld.Faction:TryGenerateNewLeader ()
RimWorld.FactionGenerator:NewGeneratedFaction (RimWorld.FactionGeneratorParms)
RimWorld.FactionGenerator:CreateFactionAndAddToManager (RimWorld.FactionDef)
RimWorld.FactionGenerator:AddFactionToManager (RimWorld.FactionDef)
RimWorld.FactionGenerator:GenerateFactionsIntoWorld (System.Collections.Generic.List`1<RimWorld.FactionDef>)
RimWorld.Planet.WorldGenStep_Factions:GenerateFresh (string)
RimWorld.Planet.WorldGenerator:GenerateWorld (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)
RimWorld.Page_CreateWorldParams:<CanDoNext>b__19_0 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
< >
Showing 1-1 of 1 comments
emitbreaker  [developer] 8 Jan @ 8:12pm 
That looks like very typical Combat Extended compatibility issue - you have to make sure that all of your mods are compatible with Combat Extended, or has that poncho guy on the mod's thumbnail.
< >
Showing 1-1 of 1 comments
Per page: 1530 50