I’ve been using the Apple Silicon preview editor on Monterey since it released with relatively few issues. But today I can’t open any projects, even fresh, empty built-in render pipeline projects with the AS preview editor. The 2020 LTS editor seems to be fine.
As I was writing this, I downloaded the Intel version of 2021.2.0b9 and verified that it launches successfully.
For anyone affected by this that doesn’t want to use the full Intel version of the editor, as a workaround you can replace some of the arm64 executables and libraries in the Apple Silicon editor package /Contents/Tools/ with their equivalent versions from an Intel install, and just letting those specific tools that aren’t working in beta 6 run under Rosetta instead of the entire editor. Replacing the following four files got it to work for me:
With the above workaround, anyone else getting random crashes? I get it when dealing with heavy inspector changes (particles), as well as when exiting play mode at times. Unity just hangs up and I have to force quit it to get going again.
Nah, we were accidentally using the x18 register in our assembly code which is apparently reserved on Apple silicon (and Monterey started using it for its own purposes).
Figuring out how to fix it was harder than figuring out what was going on :). Attaching a debugger was enough for it to tell me that we were crashing when trying to use the value read from that register.