Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.2.0b9

Issue ID

1052270

Regression

No

Button SelectionState is not updated when CanvasGroup.Interactable is set from false to true

uGUI

-

How to reproduce:
1. Open the attached "TestFor1052270.zip" project
2. Enter the Play mode
3. Click on the Disable Button (it disables the CanvasGroup which contains this Button)
4. Click on the Enable Button
5. Notice how the Disable Button returns to the SelectionState (Highlighted) it was in before CanvasGroup was disabled

Expected result: After the CanvasGroup is enabled, Buttons return to proper SelectionState
Actual result: After the CanvasGroup is enabled, Buttons return to SelectionState they were in before CanvasGroup was disabled

Reproducible with: 2017.1.4p2, 2017.2.3p1, 2017.4.5f1, 2018.1.6f1, 2018.2.0b10, 2018.3.0a2

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.