Unity Issue Tracker - UIToolkit PointerMoveEvent is called twice and returns two different delta values on the same frame
Fixed
UUM-1905
UIToolkit PointerMoveEvent is called twice and returns two different delta values on the same frame
Unity: Linux
Linux
Open
2022.1.X
2021.3.X
2020.3.X
Fixed
2023.1.X
2022.2.X
Won't Fix
2022.3.X
https://ono.unity3d.com/unity/unity/pull-request/144300/_/platform/editor/linux/mouseevent-uum1905
Fixed in 2023.1.0a6
2022.3 branch is not open. (2022.3 aka Topaz will not open until Oct 2022) https://confluence.unity3d.com/display/RDO/Unity+Editor+Release+Code+Names
Fixed in 2022.2.0b7
How to reproduce:
1. Open the user attached project (PointerYRepro.zip)
2. Open the SampleScene
3. Enter Play Mode
4. Move the mouse cursor in the Game view
5. Observe the MouseMoveEvent values displayed at the top left of the Game view
Expected result: there is only one event description with the correct mouse delta values for the cursor movement that was performed
Actual result: there are two event descriptions with the first one always showing negative Y values regardless of the performed cursor movement
Reproducible with: 2020.3.35f1, 2021.3.3f1, 2022.1.2f1, 2022.2.0a15
Couldn't test with: 2019.4.39f1 (unable to add the UIToolkit package)
Reproducible on: Ubuntu 20.04
Not reproducible on: Windows 10
Note: not reproducible on a standalone build
Prioritise and Follow this issue
Have a workaround or additional info about this issue?