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
- [MacOS] Invalid Code Signing Entitlements errors appear when signing MacOS project for App Store
- Missing UNITY_MATRIX_IT_MV definition in HDRP shaders
- ScrollRect panel not resizing correctly to fit text
- Scroll bar doesn't show full text
- [Linux] AutoLocale: current locale expects 'C' but got error is thrown when starting a project
Add comment