Search Issue Tracker
Fixed in 4.6.X
Votes
3
Found in
4.6.0b17
Issue ID
628502
Regression
No
PointerEventData.clickCount is always equal to 1 in OnPointerClick()
To reproduce the bug:
1. Import clickCount package
2. Open 'scene'
3. Play the scene
4. Start clicking on the image
5. PointerEventData.clickCount is printed in the console and it is always equal to one
Expected: the Number of clicks in a row should be printed as stated in the scripting reference
Comments (8)
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
superbybot_unity
Dec 09, 2023 12:49
still happening on 2021.3.18f1
Faustob64
May 04, 2023 22:20
Seeing this in 2021.3.24f1, running in the Editor.
Yiming075
Apr 01, 2022 03:41
Still exist on Android in Unity 2020.3.18f1
maratzahidulin
Apr 10, 2021 10:59
The same on Unity 2019.4.21f1.
lprunk
Oct 22, 2015 18:08
This bug has returned on 5.0.2+ and clickCount is not working on mobile devices.
bengosu
Jun 01, 2015 16:43
This still happens in 5.0.2f1 x64.
Please fix it.
JeremyDB
Sep 12, 2014 02:48
Just encountered this in 4.6b18. The event seems to eat mouse clicks within some double-click timeframe, so it isn't (easily) worked around. My guess is that it is an easy fix on your end though.
CWolf
Sep 07, 2014 19:33
Yeah, I see this too. Would be good to get this fixed.