Search Issue Tracker

Fixed

Fixed in 2023.2.0b13, 2023.3.0a8

Votes

0

Found in

2023.2.0b8

2023.3.0a2

Issue ID

UUM-47946

Regression

Yes

Error "Drags can only be started from MouseDown or MouseDrag events" is thrown when hovering mouse over other window Editor windows whilst shortcut change is initiated via mouse

--

-

How to reproduce:
1. Open any project
2. Navigate to Edit > Shortcuts
3. Select any Category and any Command
4. Double-click on the Shortcut field for that Command to start assigning a shortcut
5. Drag the pointer anywhere else in the Editor

Actual result: Error "Drags can only be started from MouseDown or MouseDrag events
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)" is printed in the Console
Expected result: No error is printed when the pointer changes Editor windows whilst shortcut change is initiated via mouse

Reproducible with: 2023.2.0a6, 2023.2.0b8, 2023.3.0a2
Not reproducible with: 2021.3.29f1, 2022.3.7f1, 2023.1.9f1, 2023.2.0a5

Note: The issue does not reproduce if the user is setting a shortcut via pressing enter or typing the shortcut key when the shortcut command is focused

Reproduced on: Windows 11
Did not reproduce on: macOS Ventura

  1. Resolution Note (fix version 2023.3.0a8):

    Fixed an error appearing in the shortcut manager while editing bindings.

  2. Resolution Note (fix version 2023.2.0b13):

    Fixed an error appearing in the shortcut manager while editing bindings.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.