Search Issue Tracker

Fixed in 2017.2.0f3

Votes

5

Found in

2017.2.0b2

Issue ID

928597

Regression

Yes

[UI] Enable/disable UI element after Play or in Play mode not working

Inspector Framework

-

How to reproduce:
1. Create new empty project
2. Create UI > (Select any element)
3. Disable UI element in Inspector window
4. Press Play
5. Try to enable UI element

Expected result: After or in Play mode enable/disable UI element should work correctly
Actual result: After or in Play mode enable/disable UI element is not working (check attached gif "ActualResult.gif")

Reproduced with: 2017.2.0a1, 2017.2.0b2
Not reproduced with: 5.6.2p2, 2017.1.f3

Regresion since: 2017.2.0a1

Note: After click Play again, UI element appears

Comments (2)

  1. 5491351c9b94c7cf2755bebfcca786b4?d=mm

    moldywarpe

    Dec 27, 2017 03:40

    This appears to be broken again under 2017.3.0f1..... :(

    How to reproduce:
    1. Create new empty project
    2. Create UI > (Select any element)
    3. Disable UI element in Inspector window
    4. Press Play
    5. Try to enable UI element

    Symptom: UI element does is not displayed
    Expected Result: UI element is displayed

    Notes:
    Disabling enabled UI element works as expected
    Enabling also fails when performed programmatically

  2. B482b83ec99d9495ddc16dd05cd29044?d=mm

    ImperativeGames

    Aug 07, 2017 13:37

    I have similar problem, but UI element won't appear in Edit mode too. You have to change state of Canvas element belongs to for UI to redraw (turning off/on Canvas works, for example).
    Doesn't appears on Play/Stop, depends on changing resolution of the viewport (I guess Canvas redraws itself when resoultion changed).

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.