-
-
Notifications
You must be signed in to change notification settings - Fork 496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patch failure on macOS with Apple Silicon chip & Unity 2021.2 arm version #424
Comments
That architecture is not supported yet. There are currently no concrete plans to support it. Mostly because MonoMod.Common must support it so I ping @0x0ade |
MonoMod currently "requires" RWX under the hood but has been set up for W^X for the most part already, with hopefully only minimal changes required. The main problems so far are:
If you want to help with that, even if it's just testing, feel free to ping me in either the MonoMod Discord server general chat or the Harmony Discord server contributor chat. |
I think I got almost (or basically) the same issue. I'm using Godot 3.4.4 on an m1 mac:
I can open a separate issue if that's better but the callstacks are pretty similar. It would be a pretty big shame if Harmony didn't work on mac in the future (especially when m1 becomes all there is)... |
Hello @pardeike! Thanks for the great work for this repository. Do you have an ETA for current issue? |
No I don't have an ETA at all @imurashka. |
@pardeike, understood. Thanks for quick reply! |
Just adding a "us too" comment - our game is running into this same issue now that we updated to 2021 unity and we would love to find a solution. Currently I'm considering just testing if an innocuous patch fails, and showing an error message saying "Your platform is incompatible with Harmony based mods" with a guide on how to run the game via "Open using Rosetta" which someone on your discord suggested to our user that had the issue. For reference our issue: https://bitbucket.org/bbucklew/cavesofqud-public-issue-tracker/issues/7599/harmony-incompatibility-on-beta-branch-for |
Also @0x0ade, is there an issue open for this already on monomod? Something that describes the problem a little better? I would love to put out some feelers to see if I can find someone to help push this forward more, but I'm not even sure what skillsets would be nice to have :) Anyway, I'd consider throwing some cash in the pool on a bountysource to solve this if we have a good writeup of the problem space for someone to read and engage |
https://github.com/pardeike/Harmony/tree/feature/monomod-core will probably solve this when its completed. |
This is an issue better addressed in MonoMod.Core which is the library that Harmony uses to do the low level stuff. |
Sorry if the link was already posted, but could I get a link to the issue in the MonoMod.Core repo? So that I can keep following the progress on this. |
MonoMod/MonoMod#90 is probably the closest to a tracking issue we have for this. I don't have Apple Silicon (or even really a machine with an ARM chip I can use), so architecture support is currently missing, then the MacOS System implementation needs to be modified to behave using Apple's W^X APIs on M1. |
Harmony can't apply patch when running inside Unity 2021.2 arm version on Apple Silicon chip. Here is an exception stack:
The text was updated successfully, but these errors were encountered: