Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.4

2020.3

2021.2.5f1

2021.3

2022.1

2022.2

Issue ID

1421082

Regression

No

PointerEventData "hovered" list does not correctly remove entries when the hierarchy of the GameObject inside it changes

uGUI

-

How to reproduce:
1. Open the attached project "HoverTest.zip"
2. Open the "SampleScene" Scene
3. Enter the Play mode
4. Click on the "Crate" GameObject and drag it slightly
5. Repeat step 4 a few times

Expected result: The "hovered" list will correctly remove old entries when the hierarchy changes
Actual result: The "hovered" list will fill up with extra entries, as they are not removed due to the hierarchy changes

Reproducible with: 2019.4.38f1, 2020.3.33f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11

  1. Resolution Note:

    Modifying the hierarchy is not expected, this is a very corner case that would likely break other more prevalent use cases

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.