Search Issue Tracker
Fixed in 4.6.X
Votes
0
Found in
4.6.0b11
Issue ID
617348
Regression
No
Button (script) do not keep refrence to active state when the game object is toggled.
To reproduce:
1. Create New Project
2. Create 'Button' gameobject (GameObject -> Create UI -> Button)
3. Play the scene
4. Select 'Button' gameobject in Hierarchy
5. Disable 'Button (Script)' component
6. Button in game view turns gray
7. Disable 'Button' gameobject
8. Button disappears
9. Enable 'Button' gameobject
10. Button appears in game view, but it is back at full brightness. Button should be gray, because 'Button (Script)' component is still disabled.
Same bug happens with Slider and Toggle gameobjects.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment