Search Issue Tracker

Not Reproducible

Votes

0

Found in

4.6.0b3

Issue ID

595585

Regression

No

When UI component is disabled via script it still renders in scene

UI

-

1. Load the test level in attached project and press Play.
2. Select the Button GameObject and toggle its active state in the inspector (checkbox at top next to it's name field). Observe that the button and its text disappear, as expected.
3. Exit play mode.
4. Add the NewBehaviourScript component to the Canvas object, and link the Button GameObject to its button field in the inspector.
5. Enter play mode. Observe that the button and its label are disabled (unchecked, names gray in hierarchy) but still render.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.