RimWorld

RimWorld

Vanilla Traits Expanded
Genaeve 26 Nov, 2020 @ 12:54am
Game Freezes In Mod Options from Main Menu or from InGame
Hi.
I hope I'm doing this correctly,
I've tried this with my regular mods I use installed, and just by itself with the base game and Harmony.
When I go into Options to uncheck the traits I hate, the entire game freezes. I can't get a log, because, it's frozen. This is the best I can do.

RimWorld 1.2.2753 rev712
Verse.Log:Message(String, Boolean)
RimWorld.VersionControl:LogVersionNumber()
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()

Error in static constructor of VanillaTraitsExpanded.DefsRemover: System.TypeInitializationException: The type initializer for 'VanillaTraitsExpanded.DefsRemover' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at VanillaTraitsExpanded.DefsRemover.RemoveDef (RimWorld.TraitDef def) [0x00001] in <c2b38862ec234873bca2941b41be8576>:0
at VanillaTraitsExpanded.DefsRemover.DoDefsRemoval () [0x00038] in <c2b38862ec234873bca2941b41be8576>:0
at VanillaTraitsExpanded.DefsRemover..cctor () [0x00001] in <c2b38862ec234873bca2941b41be8576>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in <d72310b4d8f64d25aee502792b58549f>:0
Verse.Log:Error(String, Boolean)
Verse.StaticConstructorOnStartupUtility:CallAll()
Verse.<>c:<DoPlayLoad>b__4_2()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent()
Verse.LongEventHandler:LongEventsUpdate(Boolean&)
Verse.Root:Update()
Verse.Root_Entry:Update()

Thank you,
-Gena