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

262396-levelblueprint.png

Yet the color of the cube stays the color of the original NewColor variable

262397-scene.png

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.

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.