RimWorld

RimWorld

Variety Matters Improved
ModZero 10 Jun, 2022 @ 7:50am
Issue between Variety Matters Improved and Au Ra mod by Erin
Erin's Au Ra defines two species with the same name, but different defName - this seems to anger Variety Matter's settings window and triggers an error when pressing the "reset" button. This causes it to not do anything when using XML Extensions more settings, and shows the traceback for the old settings window.

Here's the log in full[gist.github.com] (there's also an apparently harmless error spam from Vanilla Backgrounds Expanded) and below the trace itself:

Error in static constructor of VarietyMatters.AddCompVariety: System.TypeInitializationException: The type initializer for 'VarietyMatters.AddCompVariety' threw an exception. ---> System.ArgumentException: An item with the same key has already been added. Key: Au Ra at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) at VarietyMatters.ModSettings_VarietyMatters.GenerateRaces () at VarietyMatters.AddCompVariety..cctor () --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr) at (wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers.System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1(System.RuntimeTypeHandle) at (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility.Verse.StaticConstructorOnStartupUtility.CallAll_Patch3() System.Runtime.CompilerServices.RuntimeHelpers.System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1 was patched by: PRE: [800]aRandomKiwi.RimThemes.RuntimeHelpers_RunClassConstructor_Patch.Prefix Verse.StaticConstructorOnStartupUtility.Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 was patched by: PRE: [800]aRandomKiwi.RimThemes.StaticConstructorOnStartupUtility_CallAll_Patch.Prefix POST: NonUnoPinata.Patches.StaticConstructorOnStartupUtility_CallAll_NonUnoPinataPatch.Postfix, VanillaTradingExpanded.Initializer.Postfix
< >
Showing 1-1 of 1 comments
Danroak 4 Jul, 2022 @ 11:30am 
Yup, same issue.
< >
Showing 1-1 of 1 comments
Per page: 1530 50