Changing A Material Parameter at Runtime from Level Blueprint
Okay so either this is a bug or something you can't do but I'm trying to change a dynamic material from the level blueprint.
First I created a material with a vector parameter
Then I set up a dynamic material from the previously assigned material and set the color parameter using a variable inside the actor blueprint
Then from the level blueprint I try to change the color variable in the actor
Yet the color of the cube stays the color of the original NewColor variable
The reason Im trying to change the color in this way is to set multiple parameters of multiple materials and eventually allow the player to choose a color, resolution, etc. If anyone has a different way of doing this that works it'd be very helpful.
asked Dec 14 '18 at 10:07 PM in Bug Reports
Welp I solved it. For anyone else who runs into this issue I moved all nodes from construction script to the event graph to add a delay essentially setting all parameters from the object spawns into the world.
answered Dec 18 '18 at 12:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here