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);
}
}
}
I found this problem on UnityEditor on macOS with Harmony. I tried to mod assemblies but unity crashes because of this problem.
Test Code
Expected
Actual