Unity Issue Tracker - "PointerOutEvent" is not being called after pressing the first Button on the touchscreen when the first Button exchanges places with a second Button leaving the second Button in a hover state
Fixed
UUM-54208
"PointerOutEvent" is not being called after pressing the first Button on the touchscreen when the first Button exchanges places with a second Button leaving the second Button in a hover state
Pointer event dispatching has changed a lot between Unity 6 and 2022.3, making the Unity 6 fix risky to backport. For stability reasons, we think it's best to not backport this fix for now.
How to reproduce:
1. Open the "IN_48643" project
2. Enter the Play Mode
3. Using the touchscreen press the left Button
4. Observe the Console
Expected result: The next Button doesn't get stuck on the hover state and “PointerOutEvent” is called next after “PointerEnterEvent”
Actual result: The next Button gets stuck on the hover state and PointerOutEvent is not called
Reproducible with: 2021.3.31f1, 2022.3.11f1, 2023.1.18f1, 2023.2.0a18, 2023.3.0a11 Using Input System 1.6.3 - 1.8.0-pre.1
Not reproducible with: 2023.2.0b15
Fixed in: 2023.2.0a19
Reproducible on: Windows 10 Pro, macOS Ventura 13.5.2 (M1)
Not reproducible on: no other environment tested
Notes:
On macOS and Android after first clicking "PointerOutEvent" is not called
On the editor after the first click three "PointerEnterEvent" called and only then "PointerOutEvent" is called
On WindowsStandalone Player the Buttons don't exchange places when clicked
Couldn’t find the regressed version between 2023.3.0a2 - 2023.3.0a4 (due to 2023.3.0a3 having an issue where buttons don’t exchange and I can't verify this version is the regressed one)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?