Corrupted Dynamic Material Instance?

Hey all,

got some weird behaviour again:
This time my dynamic material instance partly bugged out.
I can change the one parameter value without problems but not the other. No matter where i try to set the scalar parameter value it just has no effect on the dynamic material instance. I create the dynamic material instance in the begin play section and set it as a variable. And yes i triple checked spelling on the parameter names…

I currently working on the unit AI so this bug pretty much hits me out of nowhere and a dont know what could cause these issues. (It worked fine yesterday DUH).

Thanks for any help,
M

I have tried this as well with exactly the same behaviour.

Ah, darn… :-/ Can you show all the code? ( around the timeline ).

You’re meant to call the SetScalarValue node on the dynamic material, not the mesh :slight_smile:

I don’t even know how that’s working actually…

EDIT: Ok, I didn’t even know that node existed! But I would recommend trying setting the material directly.

Apparently i used an old mesh wich had the color fix-points set wrongly in Blender. So i could set the scalar parameter but it had no effect because i didn’t switched the textures the parameter controls. Thanks for your input i think you got me pushed in the right direction! Have a great day,
M