RimWorld

RimWorld

Remedies
Visual Exception error
Exception in Verse.Pawn_HealthTracker.HealthTick: System.MissingMethodException: void Verse.HealthUtility.CureHediff(Verse.Hediff)
at FF_Drugs.HediffComp_SelectiveRegeneration.CompPostTick (System.Single& severityAdjustment) [0x00020] in <20bad0156681409dbd3818a1e0ef181c>:0
at Verse.HediffWithComps.PostTick () [0x00024] in <d243303f714d4dc48680ccaecd2f594e>:0
at Verse.Pawn_HealthTracker.HealthTick () [0x00040] in <d243303f714d4dc48680ccaecd2f594e>:0
- transpiler net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.RunloopExceptionHandler:Transpiler(IEnumerable`1 instructions)

It started to appear regularly when using neoderm
https://gist.github.com/05b9806703f67372197c1040407ea585
< >
Showing 1-7 of 7 comments
CosmicOdeum  [developer] 15 Sep, 2021 @ 4:54am 
Is this still happening? it looks like the bug I fixed back in august.
Let me re-download it, I'll check again
I confirm the issue.
I redownloaded, re-tested without any other mod, and I experience the same error after a few days of neoderm, and scars are not removed:
Exception ticking hediff (FF_NeodermHigh ticksSinceCreation=1) for pawn Iskra. Removing hediff... Exception: System.MissingMethodException: void Verse.HealthUtility.CureHediff(Verse.Hediff)
at FF_Drugs.HediffComp_SelectiveRegeneration.CompPostTick (System.Single& severityAdjustment) [0x00020] in <20bad0156681409dbd3818a1e0ef181c>:0
at Verse.HediffWithComps.PostTick () [0x00024] in <b64badbf3c3d41018b3ca5d3e8c77771>:0
at (wrapper dynamic-method) Verse.Pawn_HealthTracker.Verse.Pawn_HealthTracker.HealthTick_Patch0(Verse.Pawn_HealthTracker)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch0 (string)
(wrapper dynamic-method) Verse.Pawn_HealthTracker:Verse.Pawn_HealthTracker.HealthTick_Patch0 (Verse.Pawn_HealthTracker)
Verse.Pawn:Tick ()
(wrapper dynamic-method) Verse.TickList:Verse.TickList.Tick_Patch0 (Verse.TickList)
(wrapper dynamic-method) Verse.TickManager:Verse.TickManager.DoSingleTick_Patch0 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
Verse.Game:UpdatePlay ()
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch0 (Verse.Root_Play)


I even checked the source code, and recompiled it. There is no sign of any call to CureHediff, yet the error appears consistently.
Ok, recompiling and putting the dll into

1.3/Assemblies/
rather than
Assemblies/
fixed it
CosmicOdeum  [developer] 17 Oct, 2021 @ 8:07am 
Originally posted by アルベルト Pietralunga:
Ok, recompiling and putting the dll into

1.3/Assemblies/
rather than
Assemblies/
fixed it
Oh! Are you on 1.2?
No, I am on 1.3. In fact, CureHediff was valid in 1.2, but not in 1.3 where it was changed to Cure.
Maybe the games defaults to using the 1.2/Assemblies folder if there is no 1.3/ ?
CosmicOdeum  [developer] 17 Oct, 2021 @ 8:12am 
Originally posted by アルベルト Pietralunga:
No, I am on 1.3. In fact, CureHediff was valid in 1.2, but not in 1.3 where it was changed to Cure.
Maybe the games defaults to using the 1.2/Assemblies folder if there is no 1.3/ ?
That could be it.
Odd, but I suppose it's an easy fix.
< >
Showing 1-7 of 7 comments
Per page: 1530 50