RimWorld

RimWorld

Psychology (unofficial) v1.1-1.5
Alpaca Oct 30, 2022 @ 1:32pm
Problem with drafting pawns
As title says, i've cannot draft any pawn and ui used to do so disappeared. I think Psychology makes that problem, because that's the only mod that causes errors in logs:

Exception ticking Amanda (at (208, 0, 149)): System.TypeInitializationException: The type initializer for 'Psychology.PersonalityNodeIdeoUtility' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Psychology.PersonalityNodeIdeoUtility..cctor () [0x000e8] in <52b0d380ea96419e95f2c3e192c3da6c>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at Psychology.Pawn_PsycheTracker.CalculateCertaintyChangePerDay (RimWorld.Ideo ideo, System.Boolean addToDicts) [0x00028] in <52b0d380ea96419e95f2c3e192c3da6c>:0
at Psychology.PsychologyGameComponent.CertaintyChange (Verse.Pawn pawn, System.Boolean addToDicts) [0x00039] in <52b0d380ea96419e95f2c3e192c3da6c>:0
at Psychology.Harmony.Pawn_IdeoTracker_CertaintyChangePerDay_Patch.CertaintyChangePerDay (System.Single& __result, Verse.Pawn ___pawn) [0x00016] in <52b0d380ea96419e95f2c3e192c3da6c>:0
at (wrapper dynamic-method) RimWorld.Pawn_IdeoTracker.RimWorld.Pawn_IdeoTracker.get_CertaintyChangePerDay_Patch1(RimWorld.Pawn_IdeoTracker)
at (wrapper dynamic-method) RimWorld.Pawn_IdeoTracker.RimWorld.Pawn_IdeoTracker.IdeoTrackerTick_Patch1(RimWorld.Pawn_IdeoTracker)
at Verse.Pawn.Tick () [0x001fc] in <360933dd75ad47e8a6d2a631ae77b5d8>:0
at Verse.TickList.Tick () [0x0015c] in <360933dd75ad47e8a6d2a631ae77b5d8>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)


Log is full of these, only difference between each error is pawn's name.