LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.38k stars 472 forks source link

[Bug]: Debugging doesn't work #496

Closed OI3livion closed 1 year ago

OI3livion commented 1 year ago

All of the following criteria must be met

All of the following are optional to answer

Describe the issue.

Latest.log

I'm using dnSpy version 6.1.8 (x64), when I try to debug the game, following the steps in the wiki, it fails:

unable to connect to the debugged process [...] make sure you have patched the mono.dll file of the game

Unity: 5.5.3f1 net35

Did you attach your log file?

RinLovesYou commented 1 year ago

well, did you get the patched mono? https://github.com/dnSpy/dnSpy/wiki/Debugging-Unity-Games

OI3livion commented 1 year ago

I'm using this but no luck https://github.com/wh0am15533/Patched-Unity-Mono/blob/main/CustomBuilds/Unity-debugging-5.x/unity-5.5.3.rar

OI3livion commented 1 year ago

Allright I had to compile mono.dll from the official repo, but now it works!