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
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)
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
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
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).