Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.0f1
2018.3.0a1
2018.3.12f1
2019.1.0a1
2019.2.0a1
Issue ID
1148450
Regression
No
OnPointerClick from IPointerClickHandler does not work when a parent GameObject has an EventTrigger component
Reproduction steps:
1. Open the attached Project from "case_1148450-RemoveMe.zip"
2. Open and Play "SampleScene"
3. Click on the White Square
Expected result: Console logs a click on the Square
Actual result: Nothing happens
Reproduces on: 2017.4.26f1, 2018.3.14f1, 2019.1.0f2, 2019.2.0a13
Note:
- If the Script contains IPointerDownHandler, it mitigates the issue even when parent GameObject has an EventTrigger component, making this an effective workaround
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
- Play on awake does not work with an audio random container when instantiating a game object
- Play on awake does not work with an audio random container when loading a scene
- Prefab components are not rendered correctly in the Inspector Window when "HideFlags.HideInInspector" is used
- The "Editor.CreateInspectorGUI" method is being called twice when the Console and the Inspector windows are in the same panel
- [Linux Editor Only] Unity crashes on strtol_l when importing a specific .obj file
Resolution Note (2019.3.X):
low priority defect, unlikely to be fix for the moment.