NeighTools / UnityDoorstop

Doorstop -- run C# before Unity does!
GNU Lesser General Public License v2.1
446 stars 67 forks source link

Couldn't Open Process #43

Open krulci opened 1 year ago

krulci commented 1 year ago
Library: UnityMono (x86)
Version: 4.0.0 (from release page)
Unity Version: 2018.4.36-mbe
Game: PrincessConnectReDive (JP)
dll_search_path_override=
debug_enabled=true
debug_address=127.0.0.1:10000
debug_suspend=true
Behaviors:
(1) Game start with original Assembly-CSharp.dll and mono-2.0-bdwgc.dll
    (1) Game start directly but does not get suspended with debug_suspend=true 
    (2) Game does not start by dnSpy
        (1) dnSpy get an "Couldn't Open Process" error and quit itself see attached image
        (2) Game start after dnSpy is quit and game is not suspended
        (3) dnSpy cannot find process with "Attached to Process" option
(2) Game start with dumped and restored Assembly-CSharp.dll (dumped by CheatEngine and restored by filling the offsets) and debug build mono-2.0-bdwgc.dll (mono-2.0-bdwgc.dll is built by following the dnSpy archived repo)
    (1) Game start directly but does not get suspended with debug_suspend=true 
    (2) Game does not start by dnSpy
        (1) dnSpy get an "Couldn't Open Process" error and quit itself see attached image
        (2) Game start after dnSpy is quit and game is not suspended
        (3) dnSpy cannot find process with "Attached to Process" option

image