Fix Conflict between HarmonyX and Harmony2 Implementations
HerpDerpinstine opened this issue ยท 2 comments
MonoMod seems to fail at Generating IL in certain situations.
An example of this is with JustEmuTarkov.
Error Log for Reference
Possibly from an existing 0Harmony.dll being present and loaded before MelonLoader's Assembly Resolver can redirect it.
May relate to #94
After further research and testing of the almost complete version of the fix for #94
I can conclude that it was not an assembly resolving issue related to #94.
The Conflict has to do between HarmonyX and Harmony2.
When MelonLoader and JET uses Harmony2 everything works fine.
When MelonLoader and JET uses HarmonyX it fails.
Possibly due to some differences in IL generation.
More research is needed.