Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2018.4
2019.4
2019.4.17f1
2020.2
2021.1
2021.2
Issue ID
1301807
Regression
No
[macOS] Crash on -[CocoaMainMenu addItems:toMenu:] when Apple internal debug menu is enabled
How to reproduce:
1. On a macOS machine, in Terminal run command "defaults write com.unity3d.UnityEditor5.x _NS_4445425547 YES"
2. Open any project
Reproducible with: 2018.4.31f1, 2019.4.20f1, 2020.2.4f1, 2021.1.0b5, 2021.2.0a4
First lines of stack trace:
#0 0x000001100edbbc in -[CocoaMainMenu addItems:toMenu:]
#1 0x000001100ee60c in -[CocoaMainMenu rebuildMainMenu]
#2 0x0000010c315d32 in MenuController::UpdateAllMenus(bool)
#3 0x0000010c64fa63 in Application::InitializeProject()
#4 0x000001100f426d in -[EditorApplication applicationDidFinishLaunching:]
#5 0x007fff20434fec in __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
Note:
1. In order to remove the crash, in Terminal run "defaults delete com.unity3d.UnityEditor5.x _NS_4445425547"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Debugger stops at commented lines of code when using ECS
- Asset preview doesn't update on changing shader's _GlobalColor property when the shader uses global uniforms
- Crash on GetSpriteAtlasDependenciesFromBinary when opening specific project
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a10
The Editor will not crash when running editor with mac system debug menu enabled through defaults.