Search Issue Tracker
By Design
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.12f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1148776
Regression
No
OnPointerUp event is called before mouse is released when OnDrag Event is implemented in Parent or Child object
How to reproduce:
1. Open the attached project("PointerUp")
2. Enter Play Mode
3. Press and hold down the mouse button on the blue square in the Game View
4. Start dragging the mouse without releasing the mouse button
5. Observe the Console
Expected result: "Up" is not printed
Actual result: "Up" is printed after "Drag begun"
Reproducible with: 2017.4.29f1, 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (2019.3.X):
This is by design. We release any pointer down before starting a drag and clear click selection.