Original Post — Direct link

When I create a new game with a custom Ideology I am greeted with this game-breaking bug every time. I am playing vanilla, no mods, just Royalty and Ideology. (Preset Ideologies work fine, custom is bugged.)

The issue makes it so I cannot right-click to perform any function in the game; prioritizing tasks for colonists, force equipping gear to colonists, etc.

Here is the log created every time I right-click....

Root level exception in OnGUI(): System.InvalidOperationException: Sequence contains no matching element

at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at RimWorld.RitualBehaviorWorker_Conversion.CanStartRitualNow (Verse.TargetInfo target, RimWorld.Precept_Ritual ritual, Verse.Pawn selectedPawn, System.Collections.Generic.Dictionary`2[TKey,TValue] forcedForRole) [0x0000b] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at Verse.Thing+d__144.MoveNext () [0x0015e] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at Verse.ThingWithComps+d__40.MoveNext () [0x00078] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.FloatMenuMakerMap.AddHumanlikeOrders (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Collections.Generic.List`1[T] opts) [0x042f2] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.FloatMenuMakerMap.ChoicesAtFor (UnityEngine.Vector3 clickPos, Verse.Pawn pawn, System.Boolean suppressAutoTakeableGoto) [0x000a5] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.FloatMenuMakerMap.TryMakeFloatMenu (Verse.Pawn pawn) [0x000a1] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.Selector.HandleMapClicks () [0x000a9] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.Selector.SelectorOnGUI () [0x00000] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.MapInterface.HandleLowPriorityInput () [0x0000f] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at RimWorld.UIRoot_Play.UIRootOnGUI () [0x000dd] in <69bb6e66186e424eb26bbf02d65f9e35>:0

at Verse.Root.OnGUI () [0x0003d] in <69bb6e66186e424eb26bbf02d65f9e35>:0

UnityEngine.StackTraceUtility:ExtractStackTrace ()

Verse.Log:Error (string)

Verse.Root:OnGUI ()

Hopefully this bug is fixed relatively quickly, it put me off the game when I spent 30 minutes creating my colony for it to break at the start.

External link →
over 3 years ago - /u/TynanSylvester - Direct link

Originally posted by xxnipxx

Yes, I have 3 of the 4 available to my colony.

Do you have both a leader and moral guide role?

over 3 years ago - /u/TynanSylvester - Direct link

Originally posted by pheanox

Alright, thanks. You are not supposed to remove either of those roles, and in the next hotfix that won't be possible, so the issue should be settled next hotfix.

Actually the fix is live now, you can restart Steam to get it.

Or just don't remove those roles until then :)