Search Issue Tracker

Fixed in 4.6.X

Votes

0

Found in

4.6.0b10

Issue ID

611724

Regression

No

Dynamically changing uGUI button sprites does not update the graphic

UI

-

To reproduce:
1. Import repro.unitypackage
2. Open scene rep. It contains a uGUI button with a sprite swap transition and a script that changes the base sprite of the button to another sprite
3. Enter play mode - notice that the sprite does not change
4. Mouse over the button - the sprite gets changed

The sprite should get refreshed when it is set via script

Add comment

Log in to post comment