Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2020.2.X

Votes

4

Found in

2020.2.0b2

2020.2.0b8

2021.1

Issue ID

1287856

Regression

Yes

Event.mousePosition value is not updated when dragging Assets

IMGUI

-

How to reproduce:
1. Open the user's attached project
2. Open 'Test' > 'Event.current.mousePosition bug'
3. In the Project window select the 'EventMousePositionTest' script
4. Drag the selected script towards the EventMousePositionTest window and observe the X and Y fields

Expected result: Values of the X and Y fields are constantly updated while dragging the script
Actual result: Values of the X and Y fields are not updated while dragging the script

Reproducible with: 2020.2.0b2, 2020.2.0b11, 2021.1.0a5
Not reproducible with: 2018.4.29f1, 2019.4.14f1, 2020.1.13f1, 2020.2.0b1

  1. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.0a6

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.1f1

Comments (1)

  1. Official-Sirenix

    Nov 05, 2020 13:17

    This issue breaks a lot of custom drag and drop scripts, and, as a result, cripples our custom list reordering in Odin Inspector.

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.