Search Issue Tracker

Fixed

Fixed in 2022.3.11f1, 2023.2.0b1, 2023.3.0a1

Votes

0

Found in

2023.2.0a16

Issue ID

UUM-36604

Regression

Yes

[Mac][Contextual Menus] Editor crashes during the scrolling through the menu when Context Menu Auto Expand Delay is set to 0

--

-

Steps to reproduce:
1. Create 2D/3D project;
2. Go to Unity ->Preferences ->General;
3. Find "Context Menu Auto Expand Delay" and set it to "0"
4. In the "Hierarchy" window click the right mouse and scroll through the menu items which have sub-menus

Expected result: The editor should work and sub-menu items should become visible instantly.

Actual result: Editor crashes. Added video in the "Attachments" section

Reproducible with: 2023.2.0a16

Could not test with: 2023.1.0b18, 2022.2.21f1, 2021.3.26f1 as these streams have no this functionality.

About the device: MacOS Monterey, Version 12.6.5

Call stack:

#0 0x007ff80a3af417 in objc_msgSend
#1 0x00000103f3b6a7 in -[EditorApplication onEditorUpdatesTickTimer]
#2 0x007ff80b480f21 in __NSFireTimer
#3 0x007ff80a5fbf49 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
#4 0x007ff80a5fba38 in __CFRunLoopDoTimer
#5 0x007ff80a5fb5a8 in __CFRunLoopDoTimers
#6 0x007ff80a5e1cb6 in __CFRunLoopRun
#7 0x007ff80a5e0e1c in CFRunLoopRunSpecific
#8 0x007ff8132905e6 in RunCurrentEventLoopInMode
#9 0x007ff81329034a in ReceiveNextEventCommon
#10 0x007ff8132900e5 in _BlockUntilNextEventMatchingListInModeWithFilter
#11 0x007ff80d01af6d in _DPSNextEvent
#12 0x007ff80d01962a in -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:]
#13 0x007ff80d00bcd9 in -[NSApplication run]
#14 0x007ff80cfdfc57 in NSApplicationMain
#15 0x00000103f56247 in EditorMain(int, char const**)
#16 0x00000103f56579 in main
#17 0x00000112f9252e in (Unknown)
Launching bug reporter
Attribute Qt::AA_EnableHighDpiScaling must be set before QCoreApplication is created.
QObject: Cannot create children for a parent that is in a different thread.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.