RimWorld

RimWorld

Snow Covers All
Bug Report with Celsius
Good day, I just wanted to let you know that though this mod usually works fine with Celsius, sometimes it causes a problem that crashes it. Here is the log error it causes:

InvalidOperationException: Collection was modified; enumeration operation may not execute.
[Ref 361881E9]
[0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2+Enumerator[TKey,TValue].MoveNext () [0x00013] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00015] in <1f993cbf88314b1baa1e10ca917bdc64>:0
at SnowCoversAll.LostInSnow_MapComponent.RecoverThings (Verse.IntVec3 cell, System.String coveredBy) [0x0000d] in <c3780df6e5b4417db135fe062854b5b0>:0
at SnowCoversAll.SnowGrid_AddDepth.Postfix (Verse.SnowGrid __instance, Verse.IntVec3 c, System.Single depthToAdd, Verse.Map ___map) [0x00058] in <c3780df6e5b4417db135fe062854b5b0>:0
at Verse.SnowGrid.AddDepth (Verse.IntVec3 c, System.Single depthToAdd) [0x000e7] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX Mlie.SnowCoversAll: Void SnowCoversAll.SnowGrid_AddDepth:Postfix(SnowGrid __instance, IntVec3 c, Single depthToAdd, Map ___map)
at Celsius.TemperatureInfo+<>c__DisplayClass38_0.<TemperatureUpdateThreadMethod>b__0 (System.Tuple`2[T1,T2] range) [0x0058c] in <37e7100a137048fa981066e509834977>:0
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0`2[TSource,TLocal].<PartitionerForEachWorker>b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x00103] in <51fded79cd284d4d911c5949aff4cb21>:0
--- End of stack trace from previous location where exception was thrown ---
[0x0000c] in <51fded79cd284d4d911c5949aff4cb21>:0
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Threading.Tasks.Parallel+<>c__DisplayClass44_0`2[TSource,TLocal].<PartitionerForEachWorker>b__1 (System.Collections.IEnumerator& partitionState, System.Int32 timeout, System.Boolean& replicationDelegateYieldedBeforeCompletion) [0x0025f] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Threading.Tasks.TaskReplicator+Replica`1[TState].ExecuteAction (System.Boolean& yieldedBeforeCompletion) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Threading.Tasks.TaskReplicator+Replica.Execute () [0x00023] in <51fded79cd284d4d911c5949aff4cb21>:0
Rethrow as AggregateException: One or more errors occurred. (Collection was modified; enumeration operation may not execute.) (Collection was modified; enumeration operation may not execute.) (Collection was modified; enumeration operation may not execute.) (Collection was modified; enumeration operation may not execute.)
[Ref 220D739B] Duplicate stacktrace, see ref for original
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)

[Celsius] Skipped update of temperatures because previous was still running.