RimWorld

RimWorld

Vanilla Furniture Expanded - Security
Kusko25 29 Apr, 2024 @ 7:05am
[Bug]
I'm getting this error when loading the game:
Error in static constructor of VFESecurity.StaticConstructorClass: System.TypeInitializationException: The type initializer for 'VFESecurity.StaticConstructorClass' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
[Ref 3F51F8DA]
at VFESecurity.ArtilleryStrikeUtility+<>c.<SetCache>b__1_0 (Verse.ThingDef t) [0x00008] in <aebb26d0110a467ea00832c31ead3792>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at VFESecurity.ArtilleryStrikeUtility.SetCache () [0x00029] in <aebb26d0110a467ea00832c31ead3792>:0
at <0x233c076df80 + 0x00042> <unknown method>
--- End of inner exception stack trace ---
[Ref 6A00EFB7]
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x00025] in <957a20e0be784a65bc32cf449445b937>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()

Since others also point to artillery problems I think this might be related