RimWorld

RimWorld

Non-Binary Gender
This topic has been locked
Error with RimHUD
It occurs while using RimHUD and forces it to deactivate. Maybe you can find the problem

Error in static constructor of NonBinaryGender.OnStartup: System.TypeInitializationException: The type initializer for 'NonBinaryGender.OnStartup' threw an exception. ---> System.NullReferenceException: Null method for divineDerivative.NonBinaryGender [Ref 8C9370BF] at HarmonyLib.PatchProcessor.Patch () [0x0001d] in <abec11463bc04855a5322a0a868aeb22>:0 at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x0002a] in <abec11463bc04855a5322a0a868aeb22>:0 at NonBinaryGender.Patches.CharacterEditorPatches.PatchCE (HarmonyLib.Harmony harmony) [0x00097] in <ed6505c91bb2440298038c6002d98567>:0 at <0x1b471900a20 + 0x0009a> <unknown method> --- End of inner exception stack trace --- [Ref 77C4428] 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 () [0x00028] in <957a20e0be784a65bc32cf449445b937>:0 - POSTFIX LunarFramework.Bootstrap: Void LunarFramework.Internal.Patches.Patch_Verse_StaticConstructorOnStartupUtility:CallAll_Postfix() UnityEngine.StackTraceUtility:ExtractStackTrace () (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string) (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.StaticConstructorOnStartupUtility.CallAll_Patch1 () 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 ()
< >
Showing 1-8 of 8 comments
divineDerivative  [developer] 19 Apr, 2024 @ 5:03pm 
This is actually an issue with Character Editor, I haven't updated compatibility for 1.5 yet, but I'm working on it right now. It could be difficult since he intentionally made the code even harder for third parties to work with.
stellar_kitty 19 Apr, 2024 @ 6:37pm 
But I don’t have Character Editor active, despite this the mods can work against each other?
divineDerivative  [developer] 19 Apr, 2024 @ 6:48pm 
NonBinaryGender.Patches.CharacterEditorPatches.PatchCE doesn't get called unless Character Editor is active. The only other thing I can see is that further up the call chain there's something from LunarFramework. No idea what that is or how/why it would call one of my methods unnecessarily.
stellar_kitty 20 Apr, 2024 @ 6:10am 
I found this[github.com] on the internet
divineDerivative  [developer] 20 Apr, 2024 @ 7:33am 
That doesn't really help, sorry. I need a full log please, HugsLib preferred.
stellar_kitty 20 Apr, 2024 @ 9:09am 
Sorry, it’s about the LunarFramework. I know it’s not much, but I’ll search for more
divineDerivative  [developer] 20 Apr, 2024 @ 9:10am 
Just give me the a full log.
divineDerivative  [developer] 23 Apr, 2024 @ 1:25pm 
I'm closing this as a bad report. The provided error is clearly related to Character Editor being active, which should no longer be an issue since I updated compatibility, I did not experience any errors when I tried RimHUD myself, and no log has been provided after several days. In the future, please follow the instructions in the bug reporting section of the description.
< >
Showing 1-8 of 8 comments
Per page: 1530 50