tprtmqhwl Posted June 3, 2021 Share Posted June 3, 2021 Error in static constructor of Rimworld_Animations.HarmonyPatch_AlienRace: System.TypeInitializationException: The type initializer for 'Rimworld_Animations.HarmonyPatch_AlienRace' threw an exception. ---> System.Exception: Parameter "headOffset" not found in method static System.Void AlienRace.HarmonyPatches::DrawAddons(System.Boolean portrait, UnityEngine.Vector3 vector, Verse.Pawn pawn, UnityEngine.Quaternion quat, Verse.Rot4 rotation, System.Boolean invisible) at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough) [0x0067c] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.MethodPatcher+<>c__DisplayClass31_0.<AddPrefixes>b__0 (System.Reflection.MethodInfo fix) [0x00086] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00162] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.PatchProcessor.Patch () [0x000de] in <20181e2d55204880a56a9120ef04a53d>:0 at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <20181e2d55204880a56a9120ef04a53d>:0 at Rimworld_Animations.HarmonyPatch_AlienRace+<>c.<.cctor>b__0_0 () [0x000b1] in <9abeec436f434233baace6014391bed7>:0 at Rimworld_Animations.HarmonyPatch_AlienRace..cctor () [0x00002] in <9abeec436f434233baace6014391bed7>: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 <ebd6a2d6c8624e388709acad676da381>: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:Verse.Root.Update_Patch1(Root) Verse.Root_Entry:Update() How can I solve this error? Link to comment
Tory187 Posted June 3, 2021 Share Posted June 3, 2021 Ctrl + F12 in game lets you upload a hugslog. But likely you have outdated mods. Link to comment
tprtmqhwl Posted June 3, 2021 Author Share Posted June 3, 2021 https://gist.github.com/HugsLibRecordKeeper/1e68ca584daa96264012f7bf0b061ede The log on line 2232 is the error log in the body. I took out the mode one by one. No log error occurred when Nephila race mode was omitted. Perhaps the tribal mode was the problem. Link to comment
Tory187 Posted June 3, 2021 Share Posted June 3, 2021 (edited) Your rimnude may be out of date too. try switching to this version if you havent already https://www.loverslab.com/topic/153268-mod-rimnudeworld/page/5/?tab=comments#comment-3252591 But Im not sure if the Nephila race mod is working well for 1.2. It is listing a lot of errors but those are usually harmless ones. It is the cause of all the apparel whitelist errors. But those shouldnt break anything. Most likely rimnude is causing the bad one. I would focus on updating that. If not then update animation framework again by deleting all old files and add the new ones in after. Edit: Scratch that, it most likely is your animation install. I would delete and reinstall. Remember to not merge files when updating always delete first. Edited June 3, 2021 by Tory187 Its Animations Link to comment
tprtmqhwl Posted June 4, 2021 Author Share Posted June 4, 2021 When I installed the latest version of Rimnude, the red log disappeared. Thank you so much!!! Thank you to all mod producers, including you. I'm off to RimJobWorld soon. Link to comment
SimulatedFantasyHero Posted June 4, 2021 Share Posted June 4, 2021 8 hours ago, Tory187 said: Remember to not merge files when updating always delete first. *hits palm to forehead* end of Fight club starts playing.. where is my mind. @Tory187 I knew I forgot something. This is going to take longer then I expected. Thank you for reminding me BTW. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now