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()

UI

-

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)

  1. superbybot_unity

    Dec 09, 2023 12:49

    still happening on 2021.3.18f1

  2. Faustob64

    May 04, 2023 22:20

    Seeing this in 2021.3.24f1, running in the Editor.

  3. Yiming075

    Apr 01, 2022 03:41

    Still exist on Android in Unity 2020.3.18f1

  4. maratzahidulin

    Apr 10, 2021 10:59

    The same on Unity 2019.4.21f1.

  5. lprunk

    Oct 22, 2015 18:08

    This bug has returned on 5.0.2+ and clickCount is not working on mobile devices.

  6. bengosu

    Jun 01, 2015 16:43

    This still happens in 5.0.2f1 x64.
    Please fix it.

  7. 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.

  8. CWolf

    Sep 07, 2014 19:33

    Yeah, I see this too. Would be good to get this fixed.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.