RimWorld

RimWorld

Rick Locker Jan 15, 2020 @ 12:54am
Raids won't spawn. Not even with debug.
Raids aren't spawning for me, I just get and error message.

Here is what the debug log gave me:

Exception filling window for Verse.FloatMenu: System.InvalidOperationException: Operation is not valid due to the current state of the object
at System.Linq.Enumerable.Iterate<RimWorld.PawnGenOption, single> (System.Collections.Generic.IEnumerable`1<RimWorld.PawnGenOption>,single,System.Func`3<RimWorld.PawnGenOption, single, single>) <0x0015a>
at System.Linq.Enumerable.Min<RimWorld.PawnGenOption> (System.Collections.Generic.IEnumerable`1<RimWorld.PawnGenOption>,System.Func`2<RimWorld.PawnGenOption, single>) <0x00169>
at RimWorld.PawnGroupKindWorker_Normal.MinPointsToGenerateAnything (RimWorld.PawnGroupMaker) <0x00132>
at RimWorld.PawnGroupMaker.get_MinPointsToGenerateAnything () <0x00040>
at RimWorld.FactionDef.<MinPointsToGeneratePawnGroup>m__0 (RimWorld.PawnGroupMaker) <0x0001f>
at System.Linq.Enumerable/<Min>c__AnonStorey2E`1<RimWorld.PawnGroupMaker>.<>m__2F (RimWorld.PawnGroupMaker,single) <0x00049>
at System.Linq.Enumerable.Iterate<RimWorld.PawnGroupMaker, single> (System.Collections.Generic.IEnumerable`1<RimWorld.PawnGroupMaker>,single,System.Func`3<RimWorld.PawnGroupMaker, single, single>) <0x00095>
at System.Linq.Enumerable.Min<RimWorld.PawnGroupMaker> (System.Collections.Generic.IEnumerable`1<RimWorld.PawnGroupMaker>,System.Func`2<RimWorld.PawnGroupMaker, single>) <0x00169>
at RimWorld.FactionDef.MinPointsToGeneratePawnGroup (RimWorld.PawnGroupKindDef) <0x00196>
at RimWorld.PawnGroupMakerUtility/<TryGetRandomFactionForCombatPawnGroup>c__AnonStorey5.<>m__0 (RimWorld.Faction) <0x001aa>
at System.Linq.Enumerable/<CreateWhereIterator>c__Iterator1D`1<RimWorld.Faction>.MoveNext () <0x0016b>
at System.Collections.Generic.List`1<RimWorld.Faction>.AddEnumerable (System.Collections.Generic.IEnumerable`1<RimWorld.Faction>) <0x000d7>
at System.Collections.Generic.List`1<RimWorld.Faction>..ctor (System.Collections.Generic.IEnumerable`1<RimWorld.Faction>) <0x000e5>
at System.Linq.Enumerable.ToList<RimWorld.Faction> (System.Collections.Generic.IEnumerable`1<RimWorld.Faction>) <0x00070>
at RimWorld.PawnGroupMakerUtility.TryGetRandomFactionForCombatPawnGroup (single,RimWorld.Faction&,System.Predicate`1<RimWorld.Faction>,bool,bool,bool,bool) <0x00135>
at RimWorld.IncidentWorker_RaidEnemy.TryResolveRaidFaction (RimWorld.IncidentParms) <0x0014e>
at RimWorld.IncidentWorker_Raid.TryExecuteWorker (RimWorld.IncidentParms) <0x00098>
at RimWorld.IncidentWorker_RaidEnemy.TryExecuteWorker (RimWorld.IncidentParms) <0x00024>
at (wrapper dynamic-method) RimWorld.IncidentWorker.TryExecute_Patch1 (object,RimWorld.IncidentParms) <0x0005c>
at Verse.Dialog_DebugActionsMenu/<DoListingItems_MapActions>c__AnonStorey7.<>m__0 () <0x000c6>
at Verse.FloatMenuOption.Chosen (bool,Verse.FloatMenu) <0x0008f>
at Verse.FloatMenuOption.DoGUI (UnityEngine.Rect,bool,Verse.FloatMenu) <0x00cb0>
at Verse.FloatMenu.DoWindowContents (UnityEngine.Rect) <0x00573>
at Verse.Window/<WindowOnGUI>c__AnonStorey0.<>m__0 (int) <0x00882>

Verse.Log:Error(String, Boolean)
Verse.<WindowOnGUI>c__AnonStorey0:<>m__0(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)
< >
Showing 1-2 of 2 comments
desrtfox071 Jan 15, 2020 @ 7:13am 
What mods are you running? The error log looks like the faction of the raid group cannot be determined, like you have no factions or the pirate faction (or whatever faction the raid group should be) doesn't exist.
Morkonan Jan 15, 2020 @ 7:25am 
It's probably a faction/race mod that's likely causing the problem in not allowing an appropriate reference so the Event generator can generate a Raid. Either that or it's an Event/Storyteller mod or something just as "deep."

Check the load order and make sure that any dependencies are preloaded before those sorts of mods hit the lists. Be sure that other mods that may touch those things have any compatibility patches they need for the other mods you're running.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jan 15, 2020 @ 12:54am
Posts: 2