Closed TommySoucy closed 1 year ago
On build we want to debug:
Debug folder should have the pdb2mdb executable Drag H3MP.dll to generate debug symbols Put both H3M.dll and .mdb files in plugins folder
To debug with dnSpy:
Replace game's h3vr_data/mono/mono.dll with the one for version 5.6.3 found in Unity-debugging-5.x.zip from Debug output folder Launch game In dnSpy, go to Debug > Start Debugging Select Debug Engine "Unity (Connect)", leave other fields at default, click OK Load game's assembly and H3MP.dll
Can debug the code from there, breakpoints were tested and worked.
https://h3vr-modding.github.io/wiki/creating/scripting/debugging.html