I am trying to change a texture used in a material for a UMG image brush. I have created a Material Instance Dynamic out of that material so I have a reference to it and can change the texture at run time.
After I run the Set Texture Parameter Value call my UMG image doesn’t change. I don’t see any methods to force a material to update in any way.
I did some debugging and verified that everything is correct and not NULL. My references to material interfaces and textures and parameter names all check out. I even did a Get Texture Parameter call and can clearly see that the parameter value is correctly updated to my new value, however in game there is no change.
Is there maybe something I need to call on the UMG widget itself to force it to update?
One other thing may be that the pointer I have to the Material Instance Dynamic is different from the material being used in the widget somehow. I’m not sure how to debug pointers in Blueprint though since I don’t really see an address.