Both the object and the light are static. the object has a material. I used “set material” node to replace it with a new material when one button is clicked.
Is the engine going to build light for the new material automatically when I build lights?
I’m trying to changing the material at runtime, by clicking an UMG button.
So you meant the mesh is no longer “static”, and I should change my light to “dynamic” or “movable” as well?