In my game I have several game objects with UIButton scripts, and they usually start off disabled. (i.e. lots of panels are not shown on game start)
When I set the button's normalSprite member and activate the game object, the new sprite is not drawn. I've also tried activating first and setting the sprite second, but it didn't change the result. If I deactivate and re-activate the widget's, the correct sprite is now displayed.
Question: When setting a button's normalSprite, do I need to call any method to make the change final? It looks like there is some kind of caching going on, or some reason when I set the sprite name, it doesn't immediately take effect. I started noticing this in happening recently, maybe in 3.7.5 and 3.7.6.. my buttons are appearing with their default images, despite me setting them in code to different images.