RimWorld

RimWorld

Elite Bionics Framework
BattleGrown 30 Oct, 2022 @ 3:00pm
EBF.Transpilations.Transpiler_DamageWorker_Blunt_SpecialEffects
Getting this single error. I'm running with 295 mods but this doesn't seem like a conflict, tho I can't be sure.

Error in static constructor of EBF.Transpilations.Transpiler_DamageWorker_Blunt_SpecialEffects: System.TypeInitializationException: The type initializer for 'EBF.Transpilations.Transpiler_DamageWorker_Blunt_SpecialEffects' threw an exception. ---> System.FormatException: Method virtual System.Void Verse.DamageWorker_Blunt::ApplySpecialEffectsToPart(Verse.Pawn pawn, System.Single totalDamage, Verse.DamageInfo dinfo, Verse.DamageResult result) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) Verse.DamageWorker_Blunt:Verse.DamageWorker_Blunt.ApplySpecialEffectsToPart_Patch0 (Verse.DamageWorker_Blunt,Verse.Pawn,single,Verse.DamageInfo,Verse.DamageWorker/DamageResult): IL_02b5: call 0x000000b1


at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0008c] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <255414689d344b1385ae719f6cce8c55>:0
at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <255414689d344b1385ae719f6cce8c55>:0
at EBF.Transpilations.Transpiler_DamageWorker_Blunt_SpecialEffects..cctor () [0x00037] in <2df62686a257430f9a7eb1264230660c>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at (wrapper dynamic-method) System.Runtime.CompilerServices.RuntimeHelpers.System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor_Patch1(System.RuntimeTypeHandle)
at (wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility.Verse.StaticConstructorOnStartupUtility.CallAll_Patch3()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) Verse.StaticConstructorOnStartupUtility:Verse.StaticConstructorOnStartupUtility.CallAll_Patch3 ()
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 ()
< >
Showing 1-3 of 3 comments
Vectorial1024  [developer] 1 Nov, 2022 @ 10:53am 
Hi there! I just got something similar, perhaps you can also refer to this:

https://github.com/Vectorial1024/EliteBionicsFramework/issues/45
BattleGrown 3 Nov, 2022 @ 12:03am 
Yeah I use all of these mods (EBF, HAR, Yayo). Do you think this error prevents anything critical or do you think it is *rather* safe to continue?
Vectorial1024  [developer] 3 Nov, 2022 @ 8:07am 
This is an error that will affect hand-to-hand fighting.

If you are using guns primarily, then this should not even be of a concern, but if you are dealing with eg raids that got too close and hands are to be used, then this will become a problem. This is the overall idea of things.
< >
Showing 1-3 of 3 comments
Per page: 1530 50