Changing the styling in code breaks it in runtime

I’m playing around with the runtime demo project and encountered a bug when I change the styling in code instead of the UIBuilder. When I do this the buttons in the UIBuilder change to green as they should, but then when I hit play the entire styling is broken. Reloading the project by restarting Unity fixes this and the in game GUI then displays properly. I’ve reported it as case 1202442, just posting here to make sure it reaches you. :wink:

Thanks for reporting it. We’ll see if this bug is related to the Panel Renderer (runtime support). That said, just a note that bugs with the sample project itself will likely not be addressed as this is an unsupported example for evaluation.

Don’t worry, I’m not expecting bug fixes for the demo. Just figured you’d want to know about it. :slight_smile: