Search Issue Tracker
By Design
Votes
0
Found in
5.0.0f4
Issue ID
677176
Regression
No
When OnPointerDown is called parameter PointerEventData.pointerPress returns Null
Reproduction steps:
1. Open the attached project "677176 - 1"
2. Open scene Test and play
3. Click on the white rectangle (Image)
4. Debug.Log prints Null when OnPointerDown tries to log the value of data.pointerPress
5. Debug.Log prints Image when OnPointerUp tries to log the value of data.pointerPress
Reference to Image should be stored in pointerPress both OnPointerDown and OnPointerUp.
Comments (1)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
NicolasSouza-NIckSDev
Oct 01, 2021 14:23
still returning null on 2019.4 .. and maybe on 2020