RimThreaded
RimThreaded copied to clipboard
`RimWorld.SituationalThoughtHandler __instance`
Steps to reproduce the behavior (VERY IMPORTANT)
- Load the save.
Error Logs
Exception ticking Palalogos (at (517, 0, 452)): 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 System.Collections.Generic.List`1[T].RemoveAt (System.Int32 index) [0x00009] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.SimplePool`1[T].Get () [0x0002a] in <7e901abeac4244b484a99b66989d226f>:0
at RimThreaded.SituationalThoughtHandler_Patch.RemoveAll[Pawn,CachedSocialThoughts] (System.Collections.Generic.Dictionary`2[TKey,TValue] dictionary, System.Predicate`1[T] predicate) [0x0001f] in <86be62ec05034ba58645d699f2fc63ae>:0
at RimThreaded.SituationalThoughtHandler_Patch.RemoveExpiredThoughtsFromCache (RimWorld.SituationalThoughtHandler __instance) [0x00018] in <86be62ec05034ba58645d699f2fc63ae>:0
at (wrapper dynamic-method) RimWorld.SituationalThoughtHandler.RimWorld.SituationalThoughtHandler.RemoveExpiredThoughtsFromCache_Patch1(RimWorld.SituationalThoughtHandler)
at RimWorld.SituationalThoughtHandler.SituationalThoughtInterval () [0x00000] in <7e901abeac4244b484a99b66989d226f>:0
at RimWorld.ThoughtHandler.ThoughtInterval () [0x00000] in <7e901abeac4244b484a99b66989d226f>:0
at RimWorld.Need_Mood.NeedInterval () [0x00011] in <7e901abeac4244b484a99b66989d226f>:0
at RimWorld.Pawn_NeedsTracker.NeedsTrackerTick () [0x00022] in <7e901abeac4244b484a99b66989d226f>:0
at Verse.Pawn.Tick () [0x000fd] in <7e901abeac4244b484a99b66989d226f>:0
at RimThreaded.TickList_Patch.NormalThingTick () [0x00025] in <86be62ec05034ba58645d699f2fc63ae>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
RimThreaded.TickList_Patch:NormalThingTick ()
RimThreaded.RimThreaded:ExecuteTicks ()
RimThreaded.RimThreaded:ProcessTicks (RimThreaded.RimThreaded/ThreadInfo)
RimThreaded.RimThreaded:InitializeThread (object)
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 (object)
Player.log
Player.log.zip There are no websites that support large logs
HugsLib log
https://gist.github.com/1be2530a536dd0697b43da1babbf446a
Save file
Screenshots
https://user-images.githubusercontent.com/66351949/142148801-1385162e-b821-4b30-8f04-fd2fc7019a16.mov
Mod list
Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- UnlimitedHugs.HugsLib
- brrainz.cameraplus
- Telefonmast.GraphicsSettings
- EdB.PrepareCarefully
- void.charactereditor
- Uuugggg.TDPack
- aRandomKiwi.RimSaves
- madarauchiha.custommapsizes
- trinity.RuntimeGCupdated
- seohyeon.OptimizationMeats
- dubwise.dubsmintminimap
- AdamBucior.BetterElectronics
- majorhoff.rimthreaded.experimental
Another situation. It seems it happens when pawns die.
Reproduced again. Please add this to tested already.