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
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)
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
- Profiler connects to a different opened Editor project when more than one project is open and building for WebGL with Autoconnect Profiler enabled
- Creating and then deleting the "Integration Update: Rotation" block breaks and makes unusable VFX Graph
- “ArgumentNullException: Value cannot be null.” when deleting a newly created input action
- Undoing the creation of the "Button - TextMeshPro" GameObject only removes Canvas and EventSystem GameObjects
- A distorted audio clip is played when transitioning to another audio clip using Pitch Shifter Audio Effect
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.