# Cannot get the Set Material Instance static switch Parameter Value to work

**URL:** <https://forums.unrealengine.com/t/cannot-get-the-set-material-instance-static-switch-parameter-value-to-work/2390736>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [March 15, 2025, 5:27am UTC](https://forums.unrealengine.com/t/cannot-get-the-set-material-instance-static-switch-parameter-value-to-work/2390736 "2025-03-15T05:27:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Narumaster007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Narumaster007](https://forums.unrealengine.com/u/Narumaster007)\
**Post date:** [March 15, 2025, 5:27am UTC](https://forums.unrealengine.com/t/cannot-get-the-set-material-instance-static-switch-parameter-value-to-work/2390736/1 "2025-03-15T05:27:52Z")

</div>

I am having trouble simply setting the Set Material Instance Static Switch Parameter Value. I have it all setup correctly as an Asset Action Utility Blueprint and it is detecting that the name of the parameter exists on the material but it is failing when it is supposed to be the node setting it. Why is this? Is this an editor bug?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/0/800773d171ebe63f3cc9804a156eb26f3d93e560.jpeg)

---

<div class="post-metadata">

**Author:** ![DG\_Topher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DG\_Topher](https://forums.unrealengine.com/u/DG_Topher)\
**Post date:** [March 20, 2025, 1:01am UTC](https://forums.unrealengine.com/t/cannot-get-the-set-material-instance-static-switch-parameter-value-to-work/2390736/2 "2025-03-20T01:01:01Z")

</div>

I’ve just had the exact same problem, even with it returning false (still don’t know why it does this) but I put the update node after and it just works for some reason! 😅

 ![UnrealEditor_LhbzZ0A9ra](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/3/7e3216dbeb8536172a91324a352d8a7708ca1c9a.png)
