边缘世界 RimWorld

边缘世界 RimWorld

[SYR] Trait Value
Side1iner 2022 年 10 月 30 日 上午 11:05
Red error - the value colors work when in mod options, in-game they're disabled (all white, as if values didn't exist)
Error in static constructor of SyrTraitValue.HarmonyPatches:

System.TypeInitializationException: The type initializer for 'SyrTraitValue.HarmonyPatches' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at SyrTraitValue.TraitValueUtility.LoadSavedValues (System.Boolean reset) [0x00117] in <c8d79a86bd284b2ba24dcb5ddd42f2ab>:0
at SyrTraitValue.HarmonyPatches..cctor () [0x00023] in <c8d79a86bd284b2ba24dcb5ddd42f2ab>: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 <eae584ce26bc40229c1b1aa476bfa589>:0
at (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility.Verse.StaticConstructorOnStartupUtility.CallAll_Patch1()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_5 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()