How to reproduce:
- Open the attached “IN-159644” project
- In the menu bar, select “IN-159644 → Quit”
- Observe the crash
Reproducible with: 6000.0.0f1, 6000.0.86f1, 6000.3.28f1, 6000.6.9f1, 6000.7.0b9, 7000.0.0a16
Reproducible on: macOS 27.2 (M4 Max)
Not reproducible on: No other environments tested
First few lines of the stack trace:
#0 objc_retain
#1 EditorApplicationForwardingTarget::Execute(MenuItem const&)
#2 MenuController::ExecuteMenuItem(MenuItem const*, MenuController::ExecutionCause)
#3 EditorApplication_CUSTOM_ExecuteMenuItemInternal(BindingsManagedSpan*, unsigned char, unsigned char*)
#4 (UnityEditor.CoreModule) bool UnityEditor.EditorApplication::ExecuteMenuItemInternal_Injected(valuetype [UnityEngine.ScriptingModule]UnityEngine.Bindings.ManagedSpanWrapper&,bool,uint8*)