RimWorld

RimWorld

Faction Control (1.4-1.6)
Bug Reports
Error in WorldGenStep: System.NullReferenceException: Object reference not set to an instance of an object [Ref 6A3EAC0E] at FactionControl.IncreaseAttemptPatch+<>c__DisplayClass0_0.<Prefix>b__1 (System.Int32 x) [0x0000d] in <8a2c45e2c6b74676816b2f339c48c443>:0 at Verse.GenCollection.TryRandomElementByWeight[T] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] weightSelector, T& result) [0x0012a] in <fcfab19af5d14a608a65ebd77f29482f>:0 at FactionControl.IncreaseAttemptPatch.Prefix (RimWorld.Planet.PlanetTile& __result, RimWorld.Planet.PlanetLayer layer, RimWorld.Faction faction, System.Boolean mustBeAutoChoosable, System.Predicate`1[T] extraValidator) [0x00053] in <8a2c45e2c6b74676816b2f339c48c443>:0 at RimWorld.Planet.TileFinder.RandomSettlementTileFor (RimWorld.Planet.PlanetLayer layer, RimWorld.Faction faction, System.Boolean mustBeAutoChoosable, System.Predicate`1[T] extraValidator) [0x00058] in <fcfab19af5d14a608a65ebd77f29482f>:0 - PREFIX com.rimworld.mod.factioncontrol: Void FactionControl.TileFinder_RandomSettlementTileFor:Prefix(Faction faction) - PREFIX OskarPotocki.VEF: Void VEF.Factions.VanillaExpandedFramework_TileFinder_RandomSettlementTileFor_Patch+VanillaExpandedFramework_TileFinder_RandomSettlementTileFor_Prefix_Patch:Prefix(Faction faction) - PREFIX com.rimworld.mod.factioncontrol: Boolean FactionControl.IncreaseAttemptPatch:Prefix(PlanetTile& __result, PlanetLayer layer, Faction faction, Boolean mustBeAutoChoosable, Predicate`1 extraValidator) - POSTFIX com.rimworld.mod.factioncontrol: Void FactionControl.TileFinder_RandomSettlementTileFor:Postfix(PlanetTile& __result, PlanetLayer layer, Faction faction, Boolean mustBeAutoChoosable, Predicate`1 extraValidator) - POSTFIX OskarPotocki.VEF: Void VEF.Factions.VanillaExpandedFramework_TileFinder_RandomSettlementTileFor_Patch+VanillaExpandedFramework_TileFinder_RandomSettlementTileFor_Prefix_Patch:Postfix() at RimWorld.FactionGenerator.NewGeneratedFaction (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionGeneratorParms parms) [0x00209] in <fcfab19af5d14a608a65ebd77f29482f>:0 - POSTFIX OskarPotocki.VEF: Void VEF.Planet.VanillaExpandedFramework_FactionGenerator_NewGeneratedFaction_Patch:Postfix(PlanetLayer layer, FactionGeneratorParms parms, Faction& __result) at RimWorld.FactionGenerator.CreateFactionAndAddToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x000cf] in <fcfab19af5d14a608a65ebd77f29482f>:0 at RimWorld.FactionGenerator.AddFactionToManager (RimWorld.Planet.PlanetLayer layer, RimWorld.FactionDef facDef) [0x00000] in <fcfab19af5d14a608a65ebd77f29482f>:0 at RimWorld.FactionGenerator.InitializeFactions (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x0001d] in <fcfab19af5d14a608a65ebd77f29482f>:0 at RimWorld.FactionGenerator.GenerateFactionsIntoWorldLayer (RimWorld.Planet.PlanetLayer layer, System.Collections.Generic.List`1[T] factions) [0x00031] in <fcfab19af5d14a608a65ebd77f29482f>:0 - PREFIX com.rimworld.mod.factioncontrol: Void FactionControl.Patch_FactionGenerator_GenerateFactionsIntoWorldLayer:Prefix(PlanetLayer layer) - POSTFIX com.rimworld.mod.factioncontrol: Void FactionControl.Patch_FactionGenerator_GenerateFactionsIntoWorld:Postfix() at RimWorld.Planet.WorldGenStep_Factions.GenerateFresh (System.String seed, RimWorld.Planet.PlanetLayer layer) [0x00006] in <fcfab19af5d14a608a65ebd77f29482f>:0 at RimWorld.Planet.WorldGenerator.GeneratePlanetLayer (RimWorld.Planet.PlanetLayer layer, System.String seedString, System.Int32 seed) [0x0004f] in <fcfab19af5d14a608a65ebd77f29482f>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) RimWorld.Planet.WorldGenerator:GeneratePlanetLayer (RimWorld.Planet.PlanetLayer,string,int) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Planet.WorldGenerator.GenerateWorld_Patch3 (single,string,RimWorld.Planet.OverallRainfall,RimWorld.Planet.OverallTemperature,RimWorld.Planet.OverallPopulation,RimWorld.Planet.LandmarkDensity,System.Collections.Generic.List`1<RimWorld.FactionDef>,single) RimWorld.Page_CreateWorldParams:<CanDoNext>b__20_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 ()

1.6

Other world-generating mods: Odyssey, My Little Planet, World Presets, Faction Customizer, Geological Landforms, Biome Transitions (I guess nothing more important that involved into world generation).

https://gist.github.com/HugsLibRecordKeeper/9ab601937655873c4cfad832404ce1bd
Last edited by тетеря, блин; 12 Jul @ 4:34pm
< >
Showing 1-2 of 2 comments
another one:

Root level exception in OnGUI(): System.InvalidOperationException: Collection was modified; enumeration operation may not execute. [Ref 333E2122] [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <51fded79cd284d4d911c5949aff4cb21>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <51fded79cd284d4d911c5949aff4cb21>:0 at RimWorld.Planet.ExpandableLandmarksUtility.ExpandableLandmarksOnGUI () [0x0009e] in <fcfab19af5d14a608a65ebd77f29482f>:0 at RimWorld.WorldInterface.WorldInterfaceOnGUI () [0x00038] in <fcfab19af5d14a608a65ebd77f29482f>:0 - POSTFIX azravos.factioncustomizer: Void FactionCustomizer.MoveSettlement:WorldInterfaceOnGUIPostfix() at Verse.UIRoot_Entry.UIRootOnGUI () [0x00012] in <fcfab19af5d14a608a65ebd77f29482f>:0 at Verse.Root.OnGUI () [0x00046] in <fcfab19af5d14a608a65ebd77f29482f>:0 - POSTFIX UnlimitedHugs.HugsLib: Void HugsLib.Patches.Root_OnGUI_Patch:OnGUIHookUnfiltered() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.OnGUI_Patch1 (Verse.Root)

https://gist.github.com/HugsLibRecordKeeper/f69df115065ceb0cf8e3b07f54978c2c
Posting logs for my error as described in my main comment,
I am unable to spawn the majority of factions with this mod enabled, even when its the only mod active.

Only other issue I have noticed is that the world maps that generate have weird separation from the main body of the world and the north and south ice sheet poles; it is as if they are islands to the north and south and are either not connected at all or are just connected via a tiny land bridge. This happens even with out any mods, its just out of the ordinary compared to all other worlds generated in general.

The error log can be found at - https://gist.github.com/HugsLibRecordKeeper/1402331dbe0b4af6e396c6aa6d10a042
Last edited by Prince of Crows; 28 Aug @ 9:26pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50