Search Issue Tracker

Fixed in 4.6.X

Votes

0

Found in

4.6.0b10

Issue ID

611762

Regression

No

Disabling a Canvas using the Gamepad or the Keyboard throws error

UI

-

To reproduce:
1. Open attached project
2. Open scene "test". It contains a button that toggles the canvas on/off when pressed. It can be pressed by hitting enter
3. Enter play mode, select the button via keyboard and press enter - an error is thrown:
Coroutine couldn't be started because the the game object 'Button' is inactive!
UnityEngine.EventSystems.EventSystem:Update()

If the button is toggled via mouse everything works fine

Add comment

Log in to post comment