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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Shader Graph throws 'UnityDisplayOrientationPreTransform' error when Android is the selected platform
- Editor memory leak when entering and exiting Play Mode in a blank URP project
- Point Lights with the "Hard Shadows" Shadow Type appear as black squares when Rendering Path is set to "Forward+" or "Deferred+"
- Error SGICE002 is wrongly shown when the tuple elements in a foreach statement don’t match the order of the tuple returned by SystemAPI.Query
- LockBufferForWrite incorrectly rejects valid writes when GraphicsBuffer size exceeds 32-bit limit due to integer overflow
Resolution Note:
Modifying the hierarchy is not expected, this is a very corner case that would likely break other more prevalent use cases