So what I basically do is spawn an actor and try to create a material instance. Ive tried making it in the controller, in the event graph of the BP, and the construction script. It only works when both the Create and Set Vector are in the construction script. I want to be able to change the values from the controller.
If you want to change it on construction script, you need to create expose on spawn variables, like color and apply them on construction. But you code should work.