# Creating Dynamic Material Instances in Construction Scripts ends up with no Material

**URL:** <https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641>\
**Category:** Feedback & Requests\
**Tags:** unreal-engine\
**Created:** [March 2, 2017, 7:57pm UTC](https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641 "2017-03-02T19:57:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [March 2, 2017, 7:57pm UTC](https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641/1 "2017-03-02T19:57:13Z")

</div>

Hi there.

When I create Dynamic Material Instances in the ConstructionSctipt and Assign them, the Mesh has no Material when placing it in the world or in the BP Viewport.

![77bad00b437b0e663029bdf77a5c53cf917dd48b.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

Is BeginPlay the only place for this? I find BeginPlay a bit too late to create the Materials.

---

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [March 2, 2017, 8:45pm UTC](https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641/2 "2017-03-02T20:45:49Z")

</div>

The meshes that you get the materials from, they do have actual materials applied to them?

---

<div class="post-metadata">

**Author:** ![Raildex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Raildex](https://forums.unrealengine.com/u/Raildex)\
**Post date:** [March 2, 2017, 9:33pm UTC](https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641/3 "2017-03-02T21:33:50Z")

</div>

> [@KVogler;674959](#):
>
> The meshes that you get the materials from, they do have actual materials applied to them?

Of course they have.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 2, 2017, 10:36pm UTC](https://forums.unrealengine.com/t/creating-dynamic-material-instances-in-construction-scripts-ends-up-with-no-material/86641/4 "2017-03-02T22:36:25Z")

</div>

I run into this some time ago, this works:

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/9/5/95197e5525b58a3020b5676642db19fd0568b919.png)

It might be a deprecated node.
