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
- Beyond Compare 5 is not supported by Yaml Merge
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
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.