Search Unity

Question Create Mono libs with debugging support for Unity assemblys

Discussion in 'Editor & General Support' started by stuck1a, Feb 27, 2024.

  1. stuck1a

    stuck1a

    Joined:
    Feb 27, 2024
    Posts:
    1
    Hey everyone,

    I'm currently creating a mod for Stranded Deep which was created with Unity 2021.2.7f1 and .NET-Framework 4.0. For that, I'd like to debug the game assemblys with dnSpy to find the related sources more easily.
    Unfortunately, I cannot hook into the game process, because this requires some patched Mono libraries to enable debugging support as described in the readme of the dnSpy repository.

    There once were some pre-built Mono libraries, but they are no longer available. So you have to build them yourself now. There is the dnSpy-Unity-Mono repository which provide everything to do so, but unfortunately, I have not yet succeeded in creating the libraries myself, as the description is very sparse.

    Does anyone here perhaps still have the matching pre-built Mono libraries and would provide them?
    Or could someone alternatively build (or help me build) the libs for Unity 2021.2.7f1?

    Thank you very much in advance!
    Best regards,
    stuck1a