Skip to content
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

on mono on Rosetta environment, falsely detected as ARM and causes crash #36

Open
anatawa12 opened this issue Mar 28, 2023 · 0 comments · May be fixed by #37
Open

on mono on Rosetta environment, falsely detected as ARM and causes crash #36

anatawa12 opened this issue Mar 28, 2023 · 0 comments · May be fixed by #37

Comments

@anatawa12
Copy link

anatawa12 commented Mar 28, 2023

I found this problem on UnityEditor on macOS with Harmony.
I tried to mod assemblies but unity crashes because of this problem.

Test Code

using System;
using MonoMod.Utils;

namespace MonoMod.DebugIL {
    class Program {
        public static void Main(string[] args) {
            Console.WriteLine("PlatformHelper.Current " + PlatformHelper.Current);
        }
    }
}

Expected

PlatformHelper.Current Bits64, MacOS

Actual

PlatformHelper.Current Bits64, MacOS, ARM
@anatawa12 anatawa12 changed the title on mono on Rosetta environment, falsely detected as ARM on mono on Rosetta environment, falsely detected as ARM and causes crash Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant