Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Unity 5.2 Events no longer triggered onclick

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by matbrummitt, Sep 11, 2015.

  1. matbrummitt

    matbrummitt

    Joined:
    Jan 12, 2010
    Posts:
    107
    Hi,

    I updated to Unity 5.2 and my UI buttons are no longer registering clicks.

    Hover states are being triggered, but something's not quite right, because moving the mouse cursor inside of my buttons causes a kind of flicker, as if Unity thinks I've moused-out and back in again. As I move the cursor around inside the button, it continues to flicker (only mildly, since the hover on/off state is animated over time).

    UPDATE:
    I just tried clicking about 10 times in quick succession. Eventually the mouse click was detected. I assume the issue therefore lies with the hover issue.

    UPDATE 2:
    I also just found that the mouse up event also does not trigger. In my game, some handles can be clicked and dragged. Letting go of the mouse usually ends the dragging, but now it doesn't. I also have to spam the mouse button a lot to get it to trigger the mouse down, as described in the first update.

    Any ideas?

    Thanks

    Mat
     
    Last edited: Sep 11, 2015
  2. Shii

    Shii

    Joined:
    Nov 23, 2014
    Posts:
    11