Skip to content

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

Description

@anatawa12

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions