RimWorld

RimWorld

[OUTDATED] Vanilla Skills Expanded
separat.mn Nov 7, 2022 @ 4:46am
Bug with Har and couple oders
Hi i have error in console
When i use VSE, Har, Faction Control Couple races and other Vannilla mods and generate new world i have this error
--> full log file https://gist.github.com/c18629a48b92680ccf30ac1fd11603d3


Exception in RimWorld.Planet.WorldGenerator.GenerateWorld: System.NullReferenceException: Object reference not set to an instance of an object
at VSE.Passions.PassionPatches.GenerateSkills_Prefix (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00347] in <52c6ce6e3c6548d19de15b94cc0e2afc>:0
at Verse.PawnGenerator.GenerateSkills (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x0001c] in <2a35adf0a6b2491888068e783d046a45>:0
- prefix vanillaexpanded.skills: Boolean VSE.Passions.PassionPatches:GenerateSkills_Prefix(Pawn pawn, PawnGenerationRequest request)
- prefix rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GenerateSkillsPrefix(Pawn pawn)
- postfix OskarPotocki.VFECore: Void VFECore.PawnGenerator_GenerateSkills:Postfix(Pawn pawn)
- postfix rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GenerateSkillsPostfix(Pawn pawn)
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest& request, System.String& error, System.Boolean ignoreScenarioRequirements, System.Boolean ignoreValidator) [0x00386] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler rimworld.erdelf.alien_race.main: IEnumerable`1 AlienRace.HarmonyPatches:TryGenerateNewPawnInternalTranspiler(IEnumerable`1 instructions)
- postfix VanillaExpanded.VFEA: Void VFEAncients.HarmonyPatches.PowerPatches:AddPowers(Pawn __result, PawnGenerationRequest request)
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest& request) [0x0009d] in <2a35adf0a6b2491888068e783d046a45>:0
- postfix OskarPotocki.VFECore: Void VFECore.Abilities.PawnGen_Patch:Postfix(Pawn __result)
- postfix OskarPotocki.VanillaPsycastsExpanded: Void VanillaPsycastsExpanded.PawnGen_Patch:Postfix(Pawn __result)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00188] in <2a35adf0a6b2491888068e783d046a45>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnGenerationRequest request) [0x001c6] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- prefix rimworld.erdelf.alien_race.main: Void AlienRace.HarmonyPatches:GeneratePawnPrefix(PawnGenerationRequest& request)
- postfix VFEPirates.Mod: Void VFEPirates.PawnGenerator_GeneratePawn_Patch:Postfix(Pawn __result)
- postfix jecstools.jecrell.main: Void JecsTools.HarmonyPatches:Post_GeneratePawn(Pawn __result)
- postfix jecstools.jecrell.main: Void JecsTools.HarmonyPatches:Post_GeneratePawn_Genes(Pawn __result)
- postfix Albion.Xenohumans: Void Albion.HarmonyPatches:Post_GeneratePawn(PawnGenerationRequest request, Pawn& __result)
- postfix GwinnBleidd.TBnRE: Void TBnRE.PatchEntryPoint:GeneratePawn_PostFix(Pawn __result)
at RimWorld.Faction.TryGenerateNewLeader () [0x002c4] in <2a35adf0a6b2491888068e783d046a45>:0
- prefix Syrchalis.Rimworld.Thrumkin: Boolean SyrThrumkin.TryGenerateNewLeaderPatch:TryGenerateNewLeader_Prefix(Faction __instance)
- postfix ChickenPlucker.FactionTweaks: Void FactionTweaks.TryGenerateNewLeader_Patch:Postfix(Faction __instance, Boolean __result)
at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001f0] in <2a35adf0a6b2491888068e783d046a45>:0
at RimWorld.FactionGenerator.GenerateFactionsIntoWorld (System.Collections.Generic.List`1[T] factions) [0x00063] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler OskarPotocki.VanillaStorytellersExpanded: IEnumerable`1 VanillaStorytellersExpanded.Patch_FactionGenerator+GenerateFactionsIntoWorld:Transpiler(IEnumerable`1 instructions)
- prefix kentington.saveourship2: Boolean SaveOurShip2.DontRegenerateHiddenFactions:PossiblyReplace()
- postfix com.rimworld.mod.factioncontrol: Void FactionControl.Patch_FactionGenerator_GenerateFactionsIntoWorld:Postfix()
- postfix kentington.saveourship2: Void SaveOurShip2.DontRegenerateHiddenFactions:Replace(Dictionary`2 factions)
at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00020] in <2a35adf0a6b2491888068e783d046a45>:0
- prefix kentington.saveourship2: Boolean SaveOurShip2.SelectiveWorldGenerationToo:DontReplace()
- postfix kentington.saveourship2: Void SaveOurShip2.SelectiveWorldGenerationToo:LoadNow()
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) [0x0012c] in <2a35adf0a6b2491888068e783d046a45>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- prefix com.rimworld.mod.factioncontrol: Void FactionControl.WorldGenerator_Generate:Prefix()
- postfix com.rimworld.mod.factioncontrol: Void FactionControl.WorldGenerator_Generate:Postfix()
- finalizer com.rimworld.mod.factioncontrol: Void FactionControl.WorldGenerator_Generate:Finalizer()
< >
Showing 1-3 of 3 comments
separat.mn Nov 9, 2022 @ 7:13am 
This same with generate pawns.
Seens like some conflikt when i add non HAR new faction with new xeno race

Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object
at VSE.Passions.PassionPatches.GenerateSkills_Prefix (Verse.Pawn pawn, Verse.PawnGenerationRequest request) [0x00347] in <52c6ce6e3c6548d19de15b94cc0e2afc>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateSkills_Patch2(Verse.Pawn,Verse.PawnGenerationRequest)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.TryGenerateNewPawnInternal_Patch1(Verse.PawnGenerationRequest&,string&,bool,bool)
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GenerateNewPawnInternal_Patch2(Verse.PawnGenerationRequest&)
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest request) [0x00188] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) Verse.PawnGenerator.Verse.PawnGenerator.GeneratePawn_Patch1(Verse.PawnGenerationRequest)
at (wrapper dynamic-method) RimWorld.Faction.RimWorld.Faction.TryGenerateNewLeader_Patch1(RimWorld.Faction)
at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.FactionGeneratorParms parms) [0x001f0] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.FactionGenerator.RimWorld.FactionGenerator.GenerateFactionsIntoWorld_Patch0(System.Collections.Generic.List`1<RimWorld.FactionDef>)
at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed) [0x00005] in <1ea541f48818430abd724fc665f76dc4>:0
at (wrapper dynamic-method) RimWorld.Planet.WorldGenerator.RimWorld.Planet.WorldGenerator.GenerateWorld_Patch0(single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,System.Collections.Generic.List`1<RimWorld.FactionDef>,single)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) RimWorld.Planet.WorldGenerator:RimWorld.Planet.WorldGenerator.GenerateWorld_Patch0 (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 ()
(wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch0 (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_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 ()
separat.mn Nov 9, 2022 @ 7:36am 
Ok, I think I understand what's going on. New races associated with genes that add talent psi pose a problem. All other races work fine with vse
< >
Showing 1-3 of 3 comments
Per page: 1530 50