You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This needs more testing but based on initial reports:
When patch method generation fails, it appears that the patch is still marked as applied. This is likely because patch info is saved into a global state before the patch method is updated:
This needs more testing but based on initial reports:
When patch method generation fails, it appears that the patch is still marked as applied. This is likely because patch info is saved into a global state before the patch method is updated:
HarmonyX/Harmony/Public/PatchProcessor.cs
Lines 159 to 169 in 66b8574
same for all other places where
PatchFunctions.UpdateWrapper
is called.This causes more issues when trying to unpatch or add more patches in.
The logic should be refined as follows:
A functionally more stable approach might be to back up the previous patch state so it can be quickly restored.
The text was updated successfully, but these errors were encountered: