Exception in RimWorld.Planet.WorldGenerator.GenerateWorld: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RimWorld.Planet.WorldGrid.get_Item (System.Int32 tileID) [0x00019] in <8c412d4a16f94d4cb337e846f2dee469>:0
at RimWorld.Planet.TileFinder+<>c__DisplayClass1_0.<RandomSettlementTileFor>b__1 (System.Int32 x) [0x0000b] in <8c412d4a16f94d4cb337e846f2dee469>:0

  • postfix OskarPotocki.VFECore: Void VFECore.Patch_RandomSettlementTileFor:Postfix(Single& __result, Int32 x)
    at Verse.GenCollection.TryRandomElementByWeight[T] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] weightSelector, T& result) [0x00125] in <8c412d4a16f94d4cb337e846f2dee469>:0
    at RimWorld.Planet.TileFinder.RandomSettlementTileFor (RimWorld.Faction faction, System.Boolean mustBeAutoChoosable, System.Predicate1[T] extraValidator) [0x0007c] in <8c412d4a16f94d4cb337e846f2dee469>:0 - prefix OskarPotocki.VFECore: Void VFECore.Patch_RandomSettlementTileFor+RandomSettlementTileFor_Patch:Prefix(Faction faction) - postfix OskarPotocki.VFECore: Void VFECore.Patch_RandomSettlementTileFor+RandomSettlementTileFor_Patch:Postfix() at RimWorld.Planet.WorldGenStep_AncientSites.GenerateAncientSites () [0x0002c] in <8c412d4a16f94d4cb337e846f2dee469>:0 at RimWorld.Planet.WorldGenStep_AncientSites.GenerateFresh (System.String seed) [0x00000] in <8c412d4a16f94d4cb337e846f2dee469>:0 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.List1[T] factions, System.Single pollution) [0x0011a] in <8c412d4a16f94d4cb337e846f2dee469>:0
  • transpiler net.pardeike.rimworld.lib.harmony: IEnumerable1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable1 instructions, MethodBase original)
Edit

Pub: 09 Dec 2022 06:19 UTC

Views: 127