Search Issue Tracker

Not Reproducible

Votes

0

Found in

2017.1.0f3

Issue ID

946365

Regression

Yes

Button doesn't invoke onClick correctly with IEventSystemHandler

uGUI

-

How to reproduce:
1. Download attached project file
2. Open "MainScene" Scene and press Play
3. Press on these two buttons in Game Window (In console, pressed button should appear)
4. In Hierarchy Window select these two buttons and enable "Click Scale" Script in Inspector Window
5. Press on these buttons again

Expected result: Clicked buttons with "Click Scale" Script should invoke onClick correctly with IEventSystemHandler
Actual result: Clicked buttons with "Click Scale" Script doesn't invoke onClick correctly with IEventSystemHandler and doesn't appear in console as "clicked"

Reproduced with: 2017.1.1f1, 2017.2.0b9, 2017.3.0a6
Not reproduced with:5.5.4p3, 5.6.3p2
Regression since: 2017.1.0b9 (from 2017.1.0a4 to 2017.1.0b8 error appears)

Note: Issue appears only with Canvas Render Mode: Screen Space - Camera

Comments (1)

  1. bkuhr

    Nov 06, 2017 13:31

    I have the same issues in our project.
    After updragting from 5.4.1f1 to 2017.1.1f1 the UnityEngine.UI.Botton.onClick is also not invoked.
    Its a special case where we load an additional scene additive with ist own canvas.

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.