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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
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.