Hey, I have run into a bug (or maybe I’m doing something wrong), if you assign a material at runtime to a image Element, and then disable and enable the object, the image Element will return back to the initial material set in the editor.
Do anyone have a workaround for this as I need materials in our UI and we are switching between screens quite a lot.
Thanks for the quick response I’ll make a bug report asap.
setting materialAsset to null ends up resulting in only some of the materials being rendered, so think I’ll stick to the filthy hack I posted above for now.