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
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
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.