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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
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.