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
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
- UI Builder doesn't update the style sheet when using "Extract inline style" right-click option
Add comment