Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0b6
Issue ID
879050
Regression
No
Object with OnPointerClick script is ignored if parent is a button
Reproduction Steps:
1: Import attached project.
2. Open "test" scene.
3. Enter Play mode.
4. Click the white square.
5. Observe console.
6. In the Hierarchy, select object "1".
7. Activate the "Button (Script)" component.
8. Click the white square.
Expected result: Console should give out same message as before.
Actual result: Script is ignored and only the button object is clicked on.
Reproducible with: 5.3.7p2, 5.4.3p3, 5.5.1p2, 5.6.0b6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
Add comment