Search Issue Tracker

Fixed in 4.6.X

Votes

0

Found in

4.6.0b2

Issue ID

590939

Regression

No

Crash when trying to disable UIrenderer

UI

-

To reproduce:
1. Create any uGUI object (Text for example) in any project
2. Create a script which contains this line in Start():
GetComponent<UIRenderer>().enabled = false;
3. Attach the script to the uGUI object
4. Enter play mode
Expected result: UIRenderer get's disabled
Actual result: Crash (unhandled null exception)

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.