RimWorld

RimWorld

Extra Explosion Effects
Axlit Oct 31, 2023 @ 7:16pm
Map Generation Failure
This mod can cause map generation failure, reported both by on a big modpack with Steam-release CE + Rocketman and by Rollardinho on HSK. I was asked for logs, so here they are.
With the start of this thread, I unfollow general comment one.

Mod list: https://pastebin.com/cd9JSx1H

Exception:

Exception from asynchronous event: 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].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.FleckManager..ctor () [0x00031] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.FleckManager..ctor (Verse.Map parent) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.Map.Verse.Map.ConstructComponents_Patch4(Verse.Map)
at (wrapper dynamic-method) Verse.MapGenerator.Verse.MapGenerator.GenerateMap_Patch3(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
at (wrapper dynamic-method) Verse.Game.Verse.Game.InitNewGame_Patch2(Verse.Game)
at Verse.Root_Play+<>c.<Start>b__1_2 () [0x00011] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.LongEventHandler.Verse.LongEventHandler.RunEventFromAnotherThread_Patch0(System.Action)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch0 (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
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 ()
Showing 1-7 of 7 comments
Axlit Oct 31, 2023 @ 7:33pm 
Oh, and the full one before I loose it. Please ignore the xenotype errors, they are unrelated.
https://pastebin.com/NEvTyNpa
Keshash  [developer] Nov 1, 2023 @ 3:12pm 
Can you try again? I rewrote the harmony patch, might help. If not, it must be incompatibility with one of the mods.

Also, could you check what is your CE version in main menu Mods tab? It throws errors cause it can't find a new mechanic from CE 5.5. Do your guns play recoil animations when shooting?
Last edited by Keshash; Nov 1, 2023 @ 4:33pm
Axlit Nov 1, 2023 @ 6:10pm 
I believe CE should've been updated as Steam was done downloading everything for Rimworld and the Steam CE release was updated around a day by then.
I will try in an hour...
Axlit Nov 1, 2023 @ 6:55pm 
Same (I'm not cheking this letter by letter, let me once play a busy man) result, but CE is for some ♥♥♥♥♥♥♥ reason 1.4.5.4, according to the description which they might've forgot to change. See you when I have time for this.

Exception from asynchronous event: 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].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.FleckManager..ctor () [0x00031] in <95de19971c5d40878d8742747904cdcd>:0
at Verse.FleckManager..ctor (Verse.Map parent) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.Map.Verse.Map.ConstructComponents_Patch4(Verse.Map)
at (wrapper dynamic-method) Verse.MapGenerator.Verse.MapGenerator.GenerateMap_Patch3(Verse.IntVec3,RimWorld.Planet.MapParent,Verse.MapGeneratorDef,System.Collections.Generic.IEnumerable`1<Verse.GenStepWithParams>,System.Action`1<Verse.Map>)
at (wrapper dynamic-method) Verse.Game.Verse.Game.InitNewGame_Patch2(Verse.Game)
at Verse.Root_Play+<>c.<Start>b__1_2 () [0x00011] in <95de19971c5d40878d8742747904cdcd>:0
at (wrapper dynamic-method) Verse.LongEventHandler.Verse.LongEventHandler.RunEventFromAnotherThread_Patch0(System.Action)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) Verse.LongEventHandler:Verse.LongEventHandler.RunEventFromAnotherThread_Patch0 (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
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 ()
Keshash  [developer] Nov 1, 2023 @ 7:10pm 
Your CE is not 1.4.5.5, that's why it happens. Steam sometimes forgets to update, unsubcribe and re-subscribe to CE
Axlit Nov 1, 2023 @ 9:15pm 
Ok thanks. Steam - awesome. Still, can you please explain, for my general knowledge, why your mod even does something on worldgen?
Keshash  [developer] Nov 2, 2023 @ 7:49am 
It doesn't.

CE introduces a new class of effects - flecks with gravity, which I guess is considered to be part of world gen.

Errors were there because that class was missing, and it somehow cascaded into a full load failure. Flecks were missing a flecksystem, fleckmanager failed because of no flecksystem, and initialising flack manager is part of generating the world
Showing 1-7 of 7 comments
Per page: 1530 50