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
- Lightmap has artifacts when Generating Lighting
- Editor crashes when starting a new game session using Direct3D12 Graphics API
- Play on awake does not work with an audio random container when instantiating a game object
- Play on awake does not work with an audio random container when loading a scene
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
Add comment