RimWorld

RimWorld

Allow Tool
Red error
[HugsLib][ERR] AllowTool caused an exception during OnFixedUpdate: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
[Ref 862B632D]
at System.Collections.Generic.HashSet`1+Enumerator[T].MoveNext () [0x00013] in <1f993cbf88314b1baa1e10ca917bdc64>:0
at AllowTool.HaulUrgentlyCacheHandler.GetMapHaulables (Verse.Map map, System.Collections.Generic.IReadOnlyList`1[T] intersectWith, System.Collections.Generic.ICollection`1[T] targetList) [0x0006e] in <8a098910d6a84b188090b9d6c096e9ee>:0
at AllowTool.HaulUrgentlyCacheHandler.RecacheIfNeeded (Verse.Map map, System.Single currentTime) [0x0004f] in <8a098910d6a84b188090b9d6c096e9ee>:0
at AllowTool.HaulUrgentlyCacheHandler.GetDesignatedThingsForMap (Verse.Map map, System.Single currentTime) [0x00001] in <8a098910d6a84b188090b9d6c096e9ee>:0
at AllowTool.HaulUrgentlyCacheHandler+NoStorageSpaceTracker.ProcessDesignations (Verse.Map map, System.Int32 currentUpdate, System.Single currentTime) [0x0002b] in <8a098910d6a84b188090b9d6c096e9ee>:0
at AllowTool.HaulUrgentlyCacheHandler.ProcessCacheEntries (System.Int32 currentFrame, System.Single currentTime) [0x00029] in <8a098910d6a84b188090b9d6c096e9ee>:0
at AllowTool.AllowToolController.FixedUpdate () [0x00012] in <8a098910d6a84b188090b9d6c096e9ee>:0
at HugsLib.HugsLibController.OnFixedUpdate () [0x00021] in <e92fb9c535b84355b807623efc376846>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
HugsLib.Utils.ModLogger:ReportException (System.Exception,string,bool,string)
HugsLib.HugsLibController:OnFixedUpdate ()
HugsLib.Core.UnityProxyComponent:FixedUpdate ()


LOGS: https://gist.github.com/HugsLibRecordKeeper/af084f9455ce7732ba7846d394af1637