Cant load a planet

Started by Kumiankka, February 18, 2020, 09:33:06 AM

Previous topic - Next topic

Kumiankka

I was trying to load a planet after i put a new mod list in.
I have more than 100 or 150 mods and i have been removing mods to see which one it is but i cant find it. i m not all that good at understanding the code.

Heres the code after i try to load a planet


Error while generating pawn. Rethrowing. Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
Verse.PawnGenerator:GeneratePawn_Patch1(PawnGenerationRequest)
Verse.PawnGenerator:GeneratePawn(PawnKindDef, Faction)
RimWorld.Faction:GenerateNewLeader()
Planets_Code.FactionGenerator_NewGeneratedFaction:Prefix(FactionDef, Faction&)
RimWorld.FactionGenerator:NewGeneratedFaction_Patch1(FactionDef)
RimWorld.FactionGenerator:GenerateFactionsIntoWorld_Patch1()
RimWorld.Planet.WorldGenStep_Factions:GenerateFresh(String)
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Error in WorldGenStep: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Vanilla Expanded - Settings loaded
Verse.Log:Message(String, Boolean)
VEE.Settings.WorldComp:FinalizeInit()
RimWorld.Planet.WorldComponentUtility:FinalizeInit(World)
RimWorld.Planet.World:FinalizeInit()
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

System.NullReferenceException: Object reference not set to an instance of an object
  at VFECore.ScenPartUtility.FinaliseFactionGoodwillCharacteristics (RimWorld.FactionDef faction) [0x00000] in <filename unknown>:0
  at VFECore.FactionGoodwillModifier.FinalizeInit () [0x00000] in <filename unknown>:0
  at RimWorld.Planet.WorldComponentUtility.FinalizeInit (RimWorld.Planet.World world) [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
RimWorld.Planet.WorldComponentUtility:FinalizeInit(World)
RimWorld.Planet.World:FinalizeInit()
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Error while generating pawn. Rethrowing. Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
Verse.PawnGenerator:GeneratePawn_Patch1(PawnGenerationRequest)
Verse.StartingPawnUtility:NewGeneratedStartingPawn()
RimWorld.ScenPart_ConfigPage_ConfigureStartingPawns:PostWorldGenerate()
RimWorld.Scenario:PostWorldGenerate()
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

There was an exception thrown by the PawnGenerator during generating a starting pawn. Trying one more time...
Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
Verse.StartingPawnUtility:NewGeneratedStartingPawn()
RimWorld.ScenPart_ConfigPage_ConfigureStartingPawns:PostWorldGenerate()
RimWorld.Scenario:PostWorldGenerate()
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Error while generating pawn. Rethrowing. Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
Verse.PawnGenerator:GeneratePawn_Patch1(PawnGenerationRequest)
Verse.StartingPawnUtility:NewGeneratedStartingPawn()
RimWorld.ScenPart_ConfigPage_ConfigureStartingPawns:PostWorldGenerate()
RimWorld.Scenario:PostWorldGenerate()
RimWorld.Planet.WorldGenerator:GenerateWorld(Single, String, OverallRainfall, OverallTemperature)
Planets_Code.Planets_CreateWorldParams:<CanDoNext>b__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Exception from asynchronous event: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.
at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes (bool) <0x00074>
at System.Reflection.Assembly.GetTypes () <0x0001d>
at AbilityUser.AbilityUserUtility.GetAllChildrenOf (System.Type) <0x00172>
at AbilityUser.AbilityUserUtility.TransformPawn (Verse.Pawn) <0x0005b>
at AbilityUser.AbilityUserMod.InternalAddInAbilityUsers (Verse.Pawn) <0x00077>
at AbilityUser.AbilityUserMod.InitializeComps_PostFix (Verse.ThingWithComps) <0x00064>
at (wrapper dynamic-method) Verse.ThingWithComps.InitializeComps_Patch1 (object) <0x0017b>
at Verse.ThingWithComps.PostMake () <0x00034>
at Verse.ThingMaker.MakeThing (Verse.ThingDef,Verse.ThingDef) <0x003a7>
at Verse.PawnGenerator.TryGenerateNewPawnInternal (Verse.PawnGenerationRequest&,string&,bool,bool) <0x000a7>
at Verse.PawnGenerator.GenerateNewPawnInternal (Verse.PawnGenerationRequest&) <0x003b0>
at Verse.PawnGenerator.GenerateOrRedressPawnInternal (Verse.PawnGenerationRequest) <0x007c1>
at (wrapper dynamic-method) Verse.PawnGenerator.GeneratePawn_Patch1 (Verse.PawnGenerationRequest) <0x000b1>

Verse.Log:Error(String, Boolean)
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()

Kumiankka

If you need any info i can give the info.

Canute

Hi,
the more important question are: Do you have any error (red text) at the log after you the startup of rimworld ?
Try to eliminate them before you even think to start a new colony.

The only modname you maybe find at all these errors are from "VFE".
So the(se) mod are missing maybe something or don't work together with one of the others you use too.


Kumiankka

most of the text is yellow but there is some red in there. but some of the mods on that list arent enabled?

Canute

When it is from the yellow text then yes.
Rimworld scan the Mods folder (if you have ton of unnused mods there, it will slow down the startup a bit) for the About.xml of each mod.
If you want get ride of the yellow text, you need to edit the About.xml with an texteditor and replace that what the yellow text say.

Yellow text is just a warning and normaly harmless.

Kumiankka

I found what was causing it. it was "try to find it" i didnt have rimoverhaul enabled.