边缘世界 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
< >
正在显示第 1 - 7 条,共 7 条留言
CosmicOdeum  [开发者] 2021 年 9 月 15 日 上午 4:54 
Is this still happening? it looks like the bug I fixed back in august.
アルベルト Pietralunga 2021 年 9 月 15 日 上午 5:58 
Let me re-download it, I'll check again
アルベルト Pietralunga 2021 年 10 月 16 日 下午 7:57 
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.
アルベルト Pietralunga 2021 年 10 月 16 日 下午 9:03 
Ok, recompiling and putting the dll into

1.3/Assemblies/
rather than
Assemblies/
fixed it
CosmicOdeum  [开发者] 2021 年 10 月 17 日 上午 8:07 
Ok, recompiling and putting the dll into

1.3/Assemblies/
rather than
Assemblies/
fixed it
Oh! Are you on 1.2?
アルベルト Pietralunga 2021 年 10 月 17 日 上午 8:09 
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  [开发者] 2021 年 10 月 17 日 上午 8:12 
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.
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50