Closed mo10 closed 2 years ago
I'm working on x86_64 mac now. It has the same problem as m1 mac.
At present, plthook_handle_by_name
can obtain the address of UnityPlayer.dylib, but plthook_open_by_address
not working.
I tried to print its error, i got: Cannot find address: 0x207b47100
It seems that dladdr
cannot get info from this address,
https://github.com/NeighTools/UnityDoorstop/blob/2441a60f6b7d946d9e6c1493378796d196edac29/src/nix/entrypoint.c#L75-L86
https://github.com/NeighTools/UnityDoorstop/blob/2441a60f6b7d946d9e6c1493378796d196edac29/src/nix/plthook/plthook_osx.c#L192-L201
Update:
I replaced plthook_open_by_address
with plthook_open
, it will working.
https://github.com/NeighTools/UnityDoorstop/pull/27 should fix it now. Feel free to reopen if the issue still persists.
Still seems to be an Issue for me. Same hardware as mo10, But i'm trying to run on Subnautica.
Still seems to be an Issue for me. Same hardware as mo10, But i'm trying to run on Subnautica.
Please use this: https://github.com/NeighTools/UnityDoorstop/pull/41
Game: The Stanley Parable: Ultra Deluxe Hardware: MacBook Air M1
I use libdoorstop.dylib compiled by github action. It seems can be loaded, but it cannot hook any methods.