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
- [Linux] Crash on glXCreateGLXPixmap when hovering over labels in the Inspector window
- "Assertion failed on expression: 'prefabInstance.GetPrefabModification().m_TransformParent.IsValid()'" is thrown when reimporting a Prefab
- Rigidbody2D.Cast does not detect collisions when 'Is Trigger' property is enabled
- GameObjects with "hideFlags.DontSaveInEditor" paired with the "DontDestroyOnLoad" method are not relieved up when the Play Mode is exited
- [Linux] Editor language is not changed when selecting a different language
Add comment