RimWorld

RimWorld

Harder Gear Looting
Bug report
Caravan Trader Unable to generate:
Exception while generating pawn group: System.NullReferenceException: Object reference not set to an instance of an object
[Ref BB66381F]
at RimWorld.CompBiocodable.CodeFor (Verse.Pawn p) [0x0001e] in <69945a8ed6c540cf90b578de735e0605>:0
at HarderGearLooting.HarderGearLooting.Biocode (Verse.ThingWithComps thing, Verse.Pawn pawn) [0x0002a] in <dd8086ef40a640dc86dcdecd10fa6ca3>:0
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
at HarderGearLooting.HarderGearLooting.GeneratePawn_Postfix (Verse.Pawn __result) [0x000f6] in <dd8086ef40a640dc86dcdecd10fa6ca3>:0
at Verse.PawnGenerator.GeneratePawn (Verse.PawnGenerationRequest request) [0x001bf] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
- POSTFIX HGL.PreStartupPatches: Void HarderGearLooting.HarderGearLooting:GeneratePawn_Postfix(Pawn __result)
- POSTFIX VFEPirates.Mod: Void VFEPirates.PawnGenerator_GeneratePawn_Patch:Postfix(Pawn __result)
at RimWorld.PawnGroupKindWorker_Trader.GenerateGuards (RimWorld.PawnGroupMakerParms parms, RimWorld.PawnGroupMaker groupMaker, Verse.Pawn trader, System.Collections.Generic.List`1[T] wares, System.Collections.Generic.List`1[T] outPawns) [0x000df] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.PawnGroupKindWorker_Trader.GeneratePawns (RimWorld.PawnGroupMakerParms parms, RimWorld.PawnGroupMaker groupMaker, System.Collections.Generic.List`1[T] outPawns, System.Boolean errorOnZeroResults) [0x0022e] in <69945a8ed6c540cf90b578de735e0605>:0
at RimWorld.PawnGroupKindWorker.GeneratePawns (RimWorld.PawnGroupMakerParms parms, RimWorld.PawnGroupMaker groupMaker, System.Boolean errorOnZeroResults) [0x00011] in <69945a8ed6c540cf90b578de735e0605>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
< >
Showing 1-1 of 1 comments
DsW-4 8 Mar @ 9:06am 
I understand the reason why, If used mod like Mechs and Animals for NPC Factions , Pawn like Mechanoids will cause this bug at biocode.CodeFor(pawn). Maybe you can use try{}catch{} to ensure that the Caravan generate doesn`t interrupt
Last edited by DsW-4; 8 Mar @ 9:21am
< >
Showing 1-1 of 1 comments
Per page: 1530 50