# Changing material in blueprint

**URL:** <https://forums.unrealengine.com/t/changing-material-in-blueprint/428056>\
**Category:** Rendering\
**Tags:** change, unreal-engine, dynamic, Blueprint, question\
**Created:** [June 24, 2018, 10:41pm UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056 "2018-06-24T22:41:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MateiSoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MateiSoft](https://forums.unrealengine.com/u/MateiSoft)\
**Post date:** [June 24, 2018, 10:41pm UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/1 "2018-06-24T22:41:48Z")

</div>

Hello Unreal Community,

I have a question regarding changing materials dynamically from blueprints.

I change the material from blueprint as the image above but when the changing initializes the material does not apply. It lefts the character without any texture.

How can I solve this problem?

Thank you!

 ![245302-1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/4/1/04112b1bfcc98f839ef8b0f75bdd421a043b351e.png)

 ![245303-2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/f/aaf06edba6874131415d96a6b96d7218dbe6ae78.png)

 ![245304-3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/2/e0265d35b2a26f874e850ddfd52b17cd9824a562.jpeg)

---

<div class="post-metadata">

**Author:** ![Nebula\_Games\_Inc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nebula\_Games\_Inc](https://forums.unrealengine.com/u/Nebula_Games_Inc)\
**Post date:** [June 25, 2018, 2:18am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/2 "2018-06-25T02:18:03Z")

</div>

Try casting to your player character not directly trying to change the mesh material from “get player character” node.

---

<div class="post-metadata">

**Author:** ![MateiSoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MateiSoft](https://forums.unrealengine.com/u/MateiSoft)\
**Post date:** [June 25, 2018, 7:00am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/3 "2018-06-25T07:00:01Z")

</div>

Hey!

Thank you for the reply! So

So you say not from “get player character”. I try to change the material from a HUD blueprint. How can I change the material as you say, directly to my player character? If I try to cast just from the node, it brings the capsule variable.

Thank you!

 ![245323-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/5/ba5a12fc0f78a7cbc1c3729d9fd7758a6436ccb6.png)

---

<div class="post-metadata">

**Author:** ![MateiSoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MateiSoft](https://forums.unrealengine.com/u/MateiSoft)\
**Post date:** [June 25, 2018, 7:11am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/4 "2018-06-25T07:11:12Z")

</div>

BTW. If i drag and drop the material on the character, still doesn’t apply. But on other objects, it applies. Other materials on the character works.

---

<div class="post-metadata">

**Author:** ![MateiSoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MateiSoft](https://forums.unrealengine.com/u/MateiSoft)\
**Post date:** [June 25, 2018, 7:53am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/5 "2018-06-25T07:53:56Z")

</div>

So, the same materials that work, i copy and pasted them and it works… but with those tried, it doesn’t work. So I think it’s not the matter of blueprints… correct? If so… what happened with those materiales that didn’t worked?

---

<div class="post-metadata">

**Author:** ![lynnVon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lynnVon](https://forums.unrealengine.com/u/lynnVon)\
**Post date:** [June 25, 2018, 8:31am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/6 "2018-06-25T08:31:59Z")

</div>

Hey,i think the material is not correct. you need convert the texture to parameter then create dynamic material instance in your blueprint. in the last,use node set texture parameter(maybe),apply the dynamic material instance to your character.

---

<div class="post-metadata">

**Author:** ![MateiSoft](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MateiSoft](https://forums.unrealengine.com/u/MateiSoft)\
**Post date:** [June 25, 2018, 11:48am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/7 "2018-06-25T11:48:45Z")

</div>

is it necessary? I mean, it’s an independent material. Not just one applied to the character and then try to modify the main one applied. Is it necessary also for an independent one?

---

<div class="post-metadata">

**Author:** ![lynnVon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lynnVon](https://forums.unrealengine.com/u/lynnVon)\
**Post date:** [June 26, 2018, 1:26am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/8 "2018-06-26T01:26:36Z")

</div>

If you want to change the material dynamically,you need do this. And the material is still independent

---

<div class="post-metadata">

**Author:** ![Rodhenik](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rodhenik/32/1167766_2.png) [@Rodhenik](https://forums.unrealengine.com/u/Rodhenik)\
**Post date:** [June 7, 2021, 9:54am UTC](https://forums.unrealengine.com/t/changing-material-in-blueprint/428056/9 "2021-06-07T09:54:32Z")

</div>

Make sure **Used with Skeletal Mesh is ENABLED**.

It’s in material’s details panel.

 ![340883-solution.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/c/f/2cf79eff22a76fe91507d7e641013e2320c734f3.png)
