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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.