Jump to content

Please solve the error of pawns' modeling breaking.


Recommended Posts


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?

제목 없음.png

Link to comment

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 by Tory187
Its Animations
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use