Search Issue Tracker
By Design
Votes
0
Found in
2017.2.0b9
Issue ID
945266
Regression
No
UI Button doesn't work unless the graphic is on the same object
Cannot click on a UI button when its target graphic is assigned to a graphic located on a different GameObject.
Repro steps:
1. Download + Open attached project.
2. Open Test Scene, see how the left button cannot be clicked but the right can.
3. Observe scene set up. The left button is connected to a seperate graphic, the right button's graphic is on the same GameObject.
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
eskivor
Oct 19, 2022 15:25
Then could you display a warning when an assigned target graphic of a button component is not onthe same game object or one of the child game objects of the button's game object? A warning saying that in that case it won't work by design, and how the user can fix it.