Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.2.0a11
Issue ID
1143659
Regression
No
Shortcut Manager - Error when dismissing context menu while text input field is active
If you right click to open the context menu while editing a shortcut, then click outside the context menu to dismiss it, an error will occur in the console:
Drags can only be started from MouseDown or MouseDrag events
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
1. Open Unity
2. Open the attached project
3. Go to Edit > Shortcuts
4. Double click any shortcut to edit it
5. Right click in the text input field to open the context menu
6. Left click outside the context menu to dismiss it
Expected Result:
The context menu is closed without any errors or warnings.
Actual Result:
An error appears in the console.
Tested on Windows.
Occurs in 2019.1.0a4, 2019.1.0b11, 2019.2.0a11, 2021.020a10
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
Add comment