Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.0f3
Issue ID
844988
Regression
No
OnPointerDown doesn't return the pressed UI elements
OnPointerDown() does not return the UI element that is clicked on; data.pointerPress gameObject is null.
Steps to reproduce:
1) Open the attached project.
2) Open 'TestScene'.
3) Press Play.
4) Press UI 'Button'.
NullReferenceException gets logged in the console when the button is pressed. However, when it is released, OnPointerUp() successfully returns the object.
Reproduced on:
5.5.0b9, 5.4.2p1, 5.3.6p8, 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
Add comment