RimWorld

RimWorld

Vanilla Factions Expanded - Ancients
Rayllumen 18 Apr, 2024 @ 1:23am
[Bug Report] Potential Bug involving Anomaly DLC's Distress Call Event
Everything seems to be just fine. I get the event as normal; Telling me that there is a distress call from an Ancient camp but it gets cut off abruptly. I go there... And it begins generating the map, before closing out of the encounter instantly as if I disembarked while putting these errors up.

Faction Ancient soldiers of def VFEA_AncientSoldiers has no usable PawnGroupMakers for parms groupKind=Settlement, tile=123193, inhabitants=False, points=421.5137, faction=Ancient soldiers, ideo=, traderKind=, generateFightersOnly=False, dontUseSingleUseRocketLaunchers=False, raidStrategy=, forceOneDowned=False, seed=, raidAgeRestriction= UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) RimWorld.PawnGroupMakerUtility/<GeneratePawns>d__2:MoveNext () System.Collections.Generic.List`1<Verse.Pawn>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) System.Linq.Enumerable:ToList<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts:PostMapGenerate (Verse.Map) RimWorld.Planet.Site:PostMapGenerate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch2 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef) RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site) RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Getting random element from empty collection. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.GenCollection:RandomElement<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) RimWorld.Planet.DistressCallUtility:SpawnCorpses (Verse.Map,System.Collections.Generic.IEnumerable`1<Verse.Pawn>,System.Collections.Generic.IEnumerable`1<Verse.Pawn>,Verse.IntVec3,int) RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts:PostMapGenerate (Verse.Map) RimWorld.Planet.Site:PostMapGenerate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch2 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef) RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site) RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object [Ref 19ABC78D] at Verse.HealthUtility.SimulateKilledByPawn (Verse.Pawn p, Verse.Pawn killer) [0x0004b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.DistressCallUtility.SpawnCorpses (Verse.Map map, System.Collections.Generic.IEnumerable`1[T] pawns, System.Collections.Generic.IEnumerable`1[T] killers, Verse.IntVec3 root, System.Int32 radius) [0x00043] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts.PostMapGenerate (Verse.Map map) [0x00136] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.Site.PostMapGenerate () [0x00027] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x002bf] in <f40318a15dd2424e8ab139f74270c36f>:0 - POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result) - POSTFIX VFETribalsMod: Void VFETribals.MapGenerator_GenerateMap_Patch:Postfix(Map __result) at Verse.GetOrGenerateMapUtility.GetOrGenerateMap (System.Int32 tile, Verse.IntVec3 size, RimWorld.WorldObjectDef suggestedMapParentDef) [0x0006b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter (RimWorld.Planet.Caravan caravan, RimWorld.Planet.Site site) [0x0003d] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite+<>c__DisplayClass8_0.<Arrived>b__0 () [0x00000] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0004f] in <f40318a15dd2424e8ab139f74270c36f>:0 - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostLoadPreFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()

New DLC mood. Things still work well with the DLC (So far, I have yet to get that far in this runthrough. Still year 1) otherwise aside from this particular Distress Call event from Anomaly refusing to work.
< >
Showing 1-15 of 29 comments
Atlas 18 Apr, 2024 @ 9:37am 
Try delete VFE tribals. Helped for me when i looked in game logs for exact same issue.
Last edited by Atlas; 18 Apr, 2024 @ 9:38am
Rayllumen 18 Apr, 2024 @ 10:49am 
Well.
Aside from the outstandingly obvious issues involving uninstalling the VFE Tribals mod from a on-running save; Such as pawns being stripped nude, buildings being missing, and Ideology rituals being missing.

The issue still prevails.
Faction Ancient soldiers of def VFEA_AncientSoldiers has no usable PawnGroupMakers for parms groupKind=Settlement, tile=123193, inhabitants=False, points=421.5137, faction=Ancient soldiers, ideo=, traderKind=, generateFightersOnly=False, dontUseSingleUseRocketLaunchers=False, raidStrategy=, forceOneDowned=False, seed=, raidAgeRestriction= UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) RimWorld.PawnGroupMakerUtility/<GeneratePawns>d__2:MoveNext () System.Collections.Generic.List`1<Verse.Pawn>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) System.Linq.Enumerable:ToList<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts:PostMapGenerate (Verse.Map) RimWorld.Planet.Site:PostMapGenerate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch1 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef) RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site) RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Getting random element from empty collection. UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Warning (string) Verse.GenCollection:RandomElement<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>) RimWorld.Planet.DistressCallUtility:SpawnCorpses (Verse.Map,System.Collections.Generic.IEnumerable`1<Verse.Pawn>,System.Collections.Generic.IEnumerable`1<Verse.Pawn>,Verse.IntVec3,int) RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts:PostMapGenerate (Verse.Map) RimWorld.Planet.Site:PostMapGenerate () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch1 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef) RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site) RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object [Ref D76908F2] at Verse.HealthUtility.SimulateKilledByPawn (Verse.Pawn p, Verse.Pawn killer) [0x0004b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.DistressCallUtility.SpawnCorpses (Verse.Map map, System.Collections.Generic.IEnumerable`1[T] pawns, System.Collections.Generic.IEnumerable`1[T] killers, Verse.IntVec3 root, System.Int32 radius) [0x00043] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts.PostMapGenerate (Verse.Map map) [0x00136] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.Site.PostMapGenerate () [0x00027] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x002bf] in <f40318a15dd2424e8ab139f74270c36f>:0 - POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result) at Verse.GetOrGenerateMapUtility.GetOrGenerateMap (System.Int32 tile, Verse.IntVec3 size, RimWorld.WorldObjectDef suggestedMapParentDef) [0x0006b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter (RimWorld.Planet.Caravan caravan, RimWorld.Planet.Site site) [0x0003d] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite+<>c__DisplayClass8_0.<Arrived>b__0 () [0x00000] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0004f] in <f40318a15dd2424e8ab139f74270c36f>:0 - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostLoadPreFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()

It would appear that VFE_Tribals is now missing from the third error line, But the exact same error is present: The Anomaly DLC fails to communicate properly with VFE Ancients about what pawns it should use for the Distress Call Fleshbeasts event site ... And how it should go about simulating them being murdered by fleshbeasts before I actually arrive and spawn on the map... which fails to generate and thus boots my caravan out of the empty space and back onto the planet viewer. (From what I have read; I guess.)

Edit: I will also mention that I will be re-adding VFE-Tribals, So the initial error log should still be 'up to date'
Last edited by Rayllumen; 18 Apr, 2024 @ 10:50am
Rayllumen 18 Apr, 2024 @ 12:36pm 
Removing VFE_Ancients with the intent of doing the distress call event and then reloading the mod afterwards doesnt really work.

The game softlocks when it tries to load the planet for any reason. Forcing an ALT+F4.

And it still doesnt generate a map when the caravan arrives; The caravan immediately becomes idle after it prints these two errors.

Error in GenStep: System.NullReferenceException: Object reference not set to an instance of an object [Ref AA14D6E4] at VFECore.FactionDefExtension.Get (Verse.Def def) [0x00000] in <f09cd6bc2e7e4491a2f6ca144eba32dc>:0 at VFECore.GenStep_Settlement_ScatterAt_Patch.SettlementGenerationSymbol (System.String original, RimWorld.Faction faction) [0x00001] in <f09cd6bc2e7e4491a2f6ca144eba32dc>:0 at RimWorld.GenStep_Settlement.ScatterAt (Verse.IntVec3 c, Verse.Map map, Verse.GenStepParams parms, System.Int32 stackCount) [0x000fa] in <f40318a15dd2424e8ab139f74270c36f>:0 - TRANSPILER OskarPotocki.VFECore: IEnumerable`1 VFECore.GenStep_Settlement_ScatterAt_Patch:Transpiler(IEnumerable`1 instructions) - PREFIX vanillafactionsexpanded.settlers: Boolean VFE_Settlers.Utilities.Harmony+GenStep_SettlementScatterAt_Patch:PreFix(IntVec3 c, Map map, Int32 stackCount) at Verse.GenStep_Scatterer.Generate (Verse.Map map, Verse.GenStepParams parms) [0x0003c] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.MapGenerator.GenerateContentsIntoMap (System.Collections.Generic.IEnumerable`1[T] genStepDefs, Verse.Map map, System.Int32 seed) [0x00107] in <f40318a15dd2424e8ab139f74270c36f>:0 - PREFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateContentsIntoMap_Patch:Prefix(IEnumerable`1& genStepDefs, Map map, Int32 seed) UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateContentsIntoMap_Patch1 (System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,Verse.Map,int) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch2 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool) Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef) RimWorld.Planet.CaravanArrivalAction_VisitSite:DoEnter (RimWorld.Planet.Caravan,RimWorld.Planet.Site) RimWorld.Planet.CaravanArrivalAction_VisitSite/<>c__DisplayClass8_0:<Arrived>b__0 () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object [Ref C40E4BDE] at RimWorld.PawnGroupMakerUtility+<GeneratePawns>d__2.MoveNext () [0x00071] in <f40318a15dd2424e8ab139f74270c36f>:0 at <0x1e0f6358f60 + 0x002c9> <unknown method> at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts.PostMapGenerate (Verse.Map map) [0x00068] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.Site.PostMapGenerate () [0x00027] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x002bf] in <f40318a15dd2424e8ab139f74270c36f>:0 - POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result) - POSTFIX VFETribalsMod: Void VFETribals.MapGenerator_GenerateMap_Patch:Postfix(Map __result) at Verse.GetOrGenerateMapUtility.GetOrGenerateMap (System.Int32 tile, Verse.IntVec3 size, RimWorld.WorldObjectDef suggestedMapParentDef) [0x0006b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter (RimWorld.Planet.Caravan caravan, RimWorld.Planet.Site site) [0x0003d] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite+<>c__DisplayClass8_0.<Arrived>b__0 () [0x00000] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0004f] in <f40318a15dd2424e8ab139f74270c36f>:0 - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostLoadPreFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() - PREFIX me.samboycoding.blm: Boolean BetterLoading.Stage.InitialLoad.StageRunPostFinalizeCallbacks:PreUpdateCurrentSynchronousEvent() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.UpdateCurrentSynchronousEvent_Patch2 (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()

Then I saw 'Better Loading' so... Disabled that mod and re-enabled the Ancients mod since disabling VFE_Ancients invited another worse error.

Same error as the initial one that conflicts with Anomaly. Except the last one is shortened:
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object [Ref 4461CF53] at Verse.HealthUtility.SimulateKilledByPawn (Verse.Pawn p, Verse.Pawn killer) [0x0004b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.DistressCallUtility.SpawnCorpses (Verse.Map map, System.Collections.Generic.IEnumerable`1[T] pawns, System.Collections.Generic.IEnumerable`1[T] killers, Verse.IntVec3 root, System.Int32 radius) [0x00043] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts.PostMapGenerate (Verse.Map map) [0x00136] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.Site.PostMapGenerate () [0x00027] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x002bf] in <f40318a15dd2424e8ab139f74270c36f>:0 - POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result) - POSTFIX VFETribalsMod: Void VFETribals.MapGenerator_GenerateMap_Patch:Postfix(Map __result) at Verse.GetOrGenerateMapUtility.GetOrGenerateMap (System.Int32 tile, Verse.IntVec3 size, RimWorld.WorldObjectDef suggestedMapParentDef) [0x0006b] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter (RimWorld.Planet.Caravan caravan, RimWorld.Planet.Site site) [0x0003d] in <f40318a15dd2424e8ab139f74270c36f>:0 at RimWorld.Planet.CaravanArrivalAction_VisitSite+<>c__DisplayClass8_0.<Arrived>b__0 () [0x00000] in <f40318a15dd2424e8ab139f74270c36f>:0 at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0001d] in <f40318a15dd2424e8ab139f74270c36f>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string) Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&) Verse.LongEventHandler:LongEventsUpdate (bool&) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root) Verse.Root_Play:Update ()
Last edited by Rayllumen; 18 Apr, 2024 @ 12:37pm
Asheram 21 Apr, 2024 @ 6:22am 
I will second this bug. I'm having near identical issues.

Faction Ancient soldiers of def VFEA_AncientSoldiers has no usable PawnGroupMakers for parms groupKind=Settlement, tile=50621, inhabitants=False, points=418.6715, faction=Ancient soldiers, ideo=, traderKind=, generateFightersOnly=False, dontUseSingleUseRocketLaunchers=False, raidStrategy=, forceOneDowned=False, seed=, raidAgeRestriction=
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.PawnGroupMakerUtility/<GeneratePawns>d__2:MoveNext ()
System.Collections.Generic.List`1<Verse.Pawn>:.ctor (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
System.Linq.Enumerable:ToList<Verse.Pawn> (System.Collections.Generic.IEnumerable`1<Verse.Pawn>)
RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts:PostMapGenerate (Verse.Map)
RimWorld.Planet.Site:PostMapGenerate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.MapGenerator.GenerateMap_Patch4 (Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>,bool)
Verse.GetOrGenerateMapUtility:GetOrGenerateMap (int,Verse.IntVec3,RimWorld.WorldObjectDef)
(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_Patch1 (Verse.Root)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Asheram 21 Apr, 2024 @ 6:23am 
Exception from long event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref E83BF8B9]
at Verse.HealthUtility.SimulateKilledByPawn (Verse.Pawn p, Verse.Pawn killer) [0x0004b] in <957a20e0be784a65bc32cf449445b937>:0
at RimWorld.Planet.DistressCallUtility.SpawnCorpses (Verse.Map map, System.Collections.Generic.IEnumerable`1[T] pawns, System.Collections.Generic.IEnumerable`1[T] killers, Verse.IntVec3 root, System.Int32 radius) [0x00043] in <957a20e0be784a65bc32cf449445b937>:0
at RimWorld.Planet.SitePartWorker_DistressCall_Fleshbeasts.PostMapGenerate (Verse.Map map) [0x00136] in <957a20e0be784a65bc32cf449445b937>:0
at RimWorld.Planet.Site.PostMapGenerate () [0x00027] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x002d0] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER TheRealLemon.MapReroll: IEnumerable`1 MapReroll.Patches.MapGenerator_GenerateMap_Patch:RecordUsedMapGenerator(IEnumerable`1 instructions)
- PREFIX MapPreview.Main: Void MapPreview.Patches.Patch_Verse_MapGenerator:GenerateMap()
- PREFIX com.pathavoid.rimworld.mod: Void PathAvoid.Patch_MapGenerator_GenerateMap:Prefix()
- POSTFIX OskarPotocki.VFECore: Void VFECore.MapGenerator_GenerateMap_Patch:Postfix(Map __result)
- POSTFIX VFETribalsMod: Void VFETribals.MapGenerator_GenerateMap_Patch:Postfix(Map __result)
at Verse.GetOrGenerateMapUtility.GetOrGenerateMap (System.Int32 tile, Verse.IntVec3 size, RimWorld.WorldObjectDef suggestedMapParentDef) [0x0006b] in <957a20e0be784a65bc32cf449445b937>:0
at RimWorld.Planet.CaravanArrivalAction_VisitSite.DoEnter (RimWorld.Planet.Caravan caravan, RimWorld.Planet.Site site) [0x00043] in <957a20e0be784a65bc32cf449445b937>:0
- TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.CaravanHandling:DoEnterWithShipsTranspiler(IEnumerable`1 instructions, ILGenerator ilg)
at RimWorld.Planet.CaravanArrivalAction_VisitSite+<>c__DisplayClass8_0.<Arrived>b__0 () [0x00000] in <957a20e0be784a65bc32cf449445b937>:0
at Verse.LongEventHandler.UpdateCurrentSynchronousEvent (System.Boolean& sceneChanged) [0x0001d] in <957a20e0be784a65bc32cf449445b937>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.LongEventHandler:UpdateCurrentSynchronousEvent (bool&)
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)
Honestly™ 24 Apr, 2024 @ 1:05am 
yeah, I've been having this bug as well and I've narrowed it down to the fact that the ancient soldiers faction has no pawngroupmarker for settlement pawns since it was never intended for their hidden faction base to ever be attacked

I've played around with the Faction defs and fixed it by adding,

<li>
<!-- settlement pawns, just for anomaly -->
<kindDef>Settlement</kindDef>
<options>
<VFEA_AncientSoldierOneAbility>5</VFEA_AncientSoldierOneAbility>
<VFEA_AncientSoldierTwoAbilities>5</VFEA_AncientSoldierTwoAbilities>
</options>
</li>

in the Faction_Hidden.xml
Last edited by Honestly™; 24 Apr, 2024 @ 1:54am
Originally posted by Honestly™:
yeah, I've been having this bug as well and I've narrowed it down to the fact that the ancient soldiers faction has no pawngroupmarker for settlement pawns since it was never intended for their hidden faction base to ever be attacked

I've played around with the Faction defs and fixed it by adding,

<li>
<!-- settlement pawns, just for anomaly -->
<kindDef>Settlement</kindDef>
<options>
<VFEA_AncientSoldierOneAbility>5</VFEA_AncientSoldierOneAbility>
<VFEA_AncientSoldierTwoAbilities>5</VFEA_AncientSoldierTwoAbilities>
</options>
</li>

in the Faction_Hidden.xml


What part do you add this to? Do you just tag it onto the bottom? or do you edit a specific line? Thanks in advance! :D
Honestly™ 24 Apr, 2024 @ 3:46am 
Originally posted by (Giga Chad) John-Vick:
Originally posted by Honestly™:
yeah, I've been having this bug as well and I've narrowed it down to the fact that the ancient soldiers faction has no pawngroupmarker for settlement pawns since it was never intended for their hidden faction base to ever be attacked

I've played around with the Faction defs and fixed it by adding,

<li>
<!-- settlement pawns, just for anomaly -->
<kindDef>Settlement</kindDef>
<options>
<VFEA_AncientSoldierOneAbility>5</VFEA_AncientSoldierOneAbility>
<VFEA_AncientSoldierTwoAbilities>5</VFEA_AncientSoldierTwoAbilities>
</options>
</li>

in the Faction_Hidden.xml


What part do you add this to? Do you just tag it onto the bottom? or do you edit a specific line? Thanks in advance! :D

Ah right i forgot to include this aswell

<maxPawnCostPerTotalPointsCurve>
<points>
<li>(0,35)</li>
<li>(70, 50)</li>
<li>(700, 100)</li>
<li>(1300, 150)</li>
<li>(100000, 10000)</li>
</points>
</maxPawnCostPerTotalPointsCurve>

ill get a screen shot of what it should look like, though with these changes ya might start getting ancient soldiers as part of the possible raid types after, but it's worth being attacked by them anyways since they spice up the combat.

https://i.imgur.com/93a5AiH.png
Last edited by Honestly™; 24 Apr, 2024 @ 3:53am
Neph 24 Apr, 2024 @ 3:52am 
Nice was working on it aswell.
Honestly™ 24 Apr, 2024 @ 4:10am 
If ya using VAE - Accessories, know that belts such as the Explosive/Resurrection currently cause a map loading issue when ya arrive at the Distress signal, the dead pawn spawns with it and in the middle of it still trying to load the map the belt explodes/tries to resurrect on a NULL MAP which mean it attempted to activate on a still loading map, causing it to do what VFE - Ancients did and closes the quest marker. No current fix is done at the moment so it's basically a dice roll whether the bug occurs.
Last edited by Honestly™; 24 Apr, 2024 @ 4:14am
Neph 24 Apr, 2024 @ 4:30am 
Originally posted by Honestly™:
If ya using VAE - Accessories, know that belts such as the Explosive/Resurrection currently cause a map loading issue when ya arrive at the Distress signal, the dead pawn spawns with it and in the middle of it still trying to load the map the belt explodes/tries to resurrect on a NULL MAP which mean it attempted to activate on a still loading map, causing it to do what VFE - Ancients did and closes the quest marker. No current fix is done at the moment so it's basically a dice roll whether the bug occurs.
Seems i am getting different errors now regarding to quest generation. are you running it flawless?
Honestly™ 24 Apr, 2024 @ 5:11am 
hm, dunno ill have to look into it, i've mostly been using dev mode to generate 10 of the distress signal quests for debugging purposes and haven't ran into anything else regarding them other than the Occasional VAE - Accessories error, ill check some other quests to see if there's any issues
Last edited by Honestly™; 24 Apr, 2024 @ 5:16am
Honestly™ 24 Apr, 2024 @ 5:51am 
Just checked the quest generation for the sealed vault with and without the anomaly patch.

Could not resolve site parts.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.QuestGen.QuestNode_GetSitePartDefsByTagsAndFaction:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestGen.QuestNode_Sequence:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestScriptDef:Run ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.QuestGen.QuestGen.Generate_Patch1 (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
RimWorld.QuestUtility:GenerateQuestAndMakeAvailable (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
VFEAncients.CompQuestOnHacked:ReceiveCompSignal (string)
Verse.ThingWithComps:BroadcastCompSignal (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.CompHackable.Hack_Patch1 (RimWorld.CompHackable,single,Verse.Pawn)
RimWorld.JobDriver_Hack:<MakeNewToils>b__5_0 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()

Got this error for both with and without the patch, so it's a general bug.
Neph 24 Apr, 2024 @ 6:03am 
Originally posted by Honestly™:
Just checked the quest generation for the sealed vault with and without the anomaly patch.

Could not resolve site parts.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.QuestGen.QuestNode_GetSitePartDefsByTagsAndFaction:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestGen.QuestNode_Sequence:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestScriptDef:Run ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.QuestGen.QuestGen.Generate_Patch1 (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
RimWorld.QuestUtility:GenerateQuestAndMakeAvailable (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
VFEAncients.CompQuestOnHacked:ReceiveCompSignal (string)
Verse.ThingWithComps:BroadcastCompSignal (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.CompHackable.Hack_Patch1 (RimWorld.CompHackable,single,Verse.Pawn)
RimWorld.JobDriver_Hack:<MakeNewToils>b__5_0 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()

Got this error for both with and without the patch, so it's a general bug.
Yes i am getting the same thing, are your sealed vaults also unpopulated?
Honestly™ 24 Apr, 2024 @ 6:12am 
Originally posted by Neph:
Originally posted by Honestly™:
Just checked the quest generation for the sealed vault with and without the anomaly patch.

Could not resolve site parts.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.QuestGen.QuestNode_GetSitePartDefsByTagsAndFaction:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestGen.QuestNode_Sequence:RunInt ()
RimWorld.QuestGen.QuestNode:Run ()
RimWorld.QuestScriptDef:Run ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.QuestGen.QuestGen.Generate_Patch1 (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
RimWorld.QuestUtility:GenerateQuestAndMakeAvailable (RimWorld.QuestScriptDef,RimWorld.QuestGen.Slate)
VFEAncients.CompQuestOnHacked:ReceiveCompSignal (string)
Verse.ThingWithComps:BroadcastCompSignal (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.CompHackable.Hack_Patch1 (RimWorld.CompHackable,single,Verse.Pawn)
RimWorld.JobDriver_Hack:<MakeNewToils>b__5_0 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.JobDriver.DriverTick_Patch0 (Verse.AI.JobDriver)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.AI.Pawn_JobTracker.JobTrackerTick_Patch0 (Verse.AI.Pawn_JobTracker)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Pawn.Tick_Patch1 (Verse.Pawn)
Verse.TickList:Tick ()

Got this error for both with and without the patch, so it's a general bug.
Yes i am getting the same thing, are your sealed vaults also unpopulated?

It fails to generate the sealed vault and the quest for it. Only the looted vaults spawn, with and without my patch
< >
Showing 1-15 of 29 comments
Per page: 1530 50