Image will not refresh in the UI after changing the sprite in code

I am trying to add some images that change each time you progress to the next scene in the Text101 game (yes I know it’s a text game :slight_smile: )

Everything seems to work EXCEPT it will not actually draw the updated image on the screen.

I can select the Image GameObject and see the image preview in the Inspector, then start playing the game and in the Inspector preview pane I can see the image changing when it is supposed to, it just doesn’t get refreshed on the main screen.

I found a couple (older) notes mentioning this possibly being an editor problem so I tried doing a build and running the game from my web server and the same thing happens. So, this does not appear to be an editor issue.

I am running Unity 2017.1.1f1.

Any suggestions would be appreciated.

Turns out the Opacity on the Image object had been set to 0. Not sure how since I was not adjusting the color on that element. All is well now.