RimWorld

RimWorld

Clean Pathfinding 2
Braincell Mar 26, 2023 @ 5:58am
Pawns won't move, Errors spammed
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000f9] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at RocketMan.Optimizations.StatWorker_Patch.UpdateCache (System.Int32 key, RimWorld.StatWorker statWorker, RimWorld.StatRequest req, System.Boolean applyPostProcess, System.Int32 tick, System.Boolean storeExists) [0x00133] in <4702842641e4442085ff1802dde51cab>:0
at (wrapper dynamic-method) RimWorld.StatWorker.RimWorld.StatWorker.GetValue_Patch0(RimWorld.StatWorker,RimWorld.StatRequest,bool)
at RimWorld.StatWorker.GetValue (Verse.Thing thing, System.Boolean applyPostProcess, System.Int32 cacheStaleAfterTicks) [0x00085] in <38562b1a2ab64eacb931fb5df05ca994>:0
at (wrapper dynamic-method) RimWorld.StatExtension.RimWorld.StatExtension.GetStatValue_Patch2(Verse.Thing,RimWorld.StatDef,bool,int)
at (wrapper dynamic-method) RimWorld.SteadyEnvironmentEffects.RimWorld.SteadyEnvironmentEffects.FinalDeteriorationRate_Patch1(Verse.Thing,bool,bool,Verse.TerrainDef,System.Collections.Generic.List`1<string>)
at (wrapper dynamic-method) RimWorld.SteadyEnvironmentEffects.RimWorld.SteadyEnvironmentEffects.TryDoDeteriorate_Patch1(RimWorld.SteadyEnvironmentEffects,Verse.Thing,bool,bool,Verse.TerrainDef)
at (wrapper dynamic-method) RimWorld.SteadyEnvironmentEffects.RimWorld.SteadyEnvironmentEffects.DoCellSteadyEffects_Patch0(RimWorld.SteadyEnvironmentEffects,Verse.IntVec3)
at RimWorld.SteadyEnvironmentEffects.SteadyEnvironmentEffectsTick () [0x000c1] in <38562b1a2ab64eacb931fb5df05ca994>:0
at (wrapper dynamic-method) Verse.Map.Verse.Map.MapPostTick_Patch1(Verse.Map)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch3 (string)
(wrapper dynamic-method) Verse.Map:Verse.Map.MapPostTick_Patch1 (Verse.Map)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch5 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) Verse.Game:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-13 of 13 comments
Owlchemist  [developer] Mar 26, 2023 @ 6:03am 
Hi - there's a number of reasons why a pawn would just stand there stuck and pathfinding is but just one of many reasons. I don't see anything in your error that would relate to this one. But you may want to check out the FAQ, it has info on this you may find useful.
Braincell Mar 26, 2023 @ 6:05am 
Originally posted by Owlchemist:
Hi - there's a number of reasons why a pawn would just stand there stuck and pathfinding is but just one of many reasons. I don't see anything in your error that would relate to this one. But you may want to check out the FAQ, it has info on this you may find useful.
Yes I did, its set to 2 but it keeps happening from time to time. What I noticed however is when my roads are super dirty, that's when the error occurs, somehow if all roads are dirty pawn pathing breaks. Because this never happened when my roads were all packed dirt, it started happening when I upgraded to Grass and Sandstone flagstone and checked to clean inside rooms as priority
Owlchemist  [developer] Mar 26, 2023 @ 6:09am 
If by dirty you mean filth, there's no interaction there between this mod and that. The whole dirt avoidance feature this mod speaks of it a feature of the terrain itself.

But anyways you'd need a hugslib proper to identify what those patches are in your log. I guess the uploader is still busted though. Ctrl+alt+f12 lets you do a local copy.
Braincell Mar 26, 2023 @ 9:13am 
Originally posted by Owlchemist:
If by dirty you mean filth, there's no interaction there between this mod and that. The whole dirt avoidance feature this mod speaks of it a feature of the terrain itself.

Further investigation into hugslib errors has had some similar errors to mine apparently. But heres my playerlog: https://drive.google.com/file/d/1oBYseUVm4mgqfMk5nxX7XHl6LoC4DaiB/view?usp=sharing
Braincell Mar 27, 2023 @ 6:07am 
Originally posted by Owlchemist:
If by dirty you mean filth, there's no interaction there between this mod and that. The whole dirt avoidance feature this mod speaks of it a feature of the terrain itself.

But anyways you'd need a hugslib proper to identify what those patches are in your log. I guess the uploader is still busted though. Ctrl+alt+f12 lets you do a local copy.

Update: Save and Quitting and then reloading save fixes things. I really dont know whats going on
Owlchemist  [developer] Mar 30, 2023 @ 8:56pm 
That looks familiar... are you using Performance Fish and if so did you apply this change? https://steamcommunity.com/workshop/filedetails/discussion/2936140288/3818529563394144888/
Braincell Mar 31, 2023 @ 1:37am 
Originally posted by Owlchemist:
That looks familiar... are you using Performance Fish and if so did you apply this change? https://steamcommunity.com/workshop/filedetails/discussion/2936140288/3818529563394144888/
I don't I do have Dubs analyzer, Performance Optimizations and Rocketman though
Braincell Mar 31, 2023 @ 1:40am 
Originally posted by Owlchemist:
That looks familiar... are you using Performance Fish and if so did you apply this change? https://steamcommunity.com/workshop/filedetails/discussion/2936140288/3818529563394144888/
Just check his playerlog out, its pretty much what I experience
Yaveton Feb 20, 2024 @ 11:35am 
Hi, I'm currently running into the same problem - I do run Performance Fish, but the link seems dead - what's the change in the link?
Yaveton Feb 20, 2024 @ 11:47am 
Hm, okay, nice. Do you ever have a situation where you're asking for help, and just seconds after that you find something that works? I disabled JobGiver_HaulOptimalisation and Haulables patches, seems to be OK for now.
Or maybe it was clearing PF cache in the mod settings? IDK, but at least one of these worked.
Last edited by Yaveton; Feb 20, 2024 @ 11:49am
Braincell Feb 20, 2024 @ 12:50pm 
its been so long already ngl, my current playthrough doesnt have this anymore
kadra, oh..... Mar 5, 2024 @ 2:23am 
Originally posted by Braincell:
its been so long already ngl, my current playthrough doesnt have this anymore

so.....did you remove something or anything for it to disappear for this issue to be gone?
Yaveton Mar 5, 2024 @ 2:31am 
Originally posted by Braincell:
its been so long already ngl, my current playthrough doesnt have this anymore


Originally posted by kadra:
Originally posted by Braincell:
its been so long already ngl, my current playthrough doesnt have this anymore

so.....did you remove something or anything for it to disappear for this issue to be gone?


The problems seems to be with Rocketman's patches, or Performance Fish's. Remove all the Cache in the Rocketman folder in Appdata/LocalLow/Ludeon Studios/Rimworld by Ludeon Studios/Rocketman and it should work
< >
Showing 1-13 of 13 comments
Per page: 1530 50