# Replacing Material references with Material Instances

**URL:** <https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922>\
**Category:** Rendering\
**Tags:** references, unreal-engine, bug-report, editor, question\
**Created:** [March 14, 2015, 10:34am UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922 "2015-03-14T10:34:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wrekk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wrekk](https://forums.unrealengine.com/u/Wrekk)\
**Post date:** [March 14, 2015, 10:34am UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/1 "2015-03-14T10:34:03Z")

</div>

Hello.

When you replace Material references with Material Instances it doesn’t actually replace the references, but deletes the original reference (the Material).

It happens everytime, not sure if this is intended.

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [March 15, 2015, 4:22pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/2 "2015-03-15T16:22:12Z")

</div>

Hey Wrekk -

I am not sure that I completely understand what you are referring to when you say Material References. Can you post a screenshot highlighting the exact area in which you are having this issue?

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![Wrekk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wrekk](https://forums.unrealengine.com/u/Wrekk)\
**Post date:** [March 15, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/3 "2015-03-15T16:38:33Z")

</div>

I have for example a ton of meshes that use a single material, and I’d like to replace it with a material instance.

Here is a screenshot of how I think you’re supposed to do it: [Screenshot - 1eee69b0014cb3cdf2811f48ab427124 - Gyazo](http://gyazo.com/1eee69b0014cb3cdf2811f48ab427124)

But when I do that, it doesn’t replace those references, it just deletes the original material. I’m guessing it’s because I’m trying to replace a material reference with a material instance (which I think you should be able to).

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [March 15, 2015, 5:53pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/4 "2015-03-15T17:53:24Z")

</div>

Hey Wrekk -

Thank you for the additional information it cleared up my confusion right away. What you are wanting to do is not possible when using a Material and a Material Instance, if the Material Instance is parented from the Material that you are trying to change the reference from. This is one of the known limitations to the Replace References Tool which you can read **[here](https://docs.unrealengine.com/latest/INT/Engine/Content/Browser/AssetConsolidationTool/index.html)**

Thank You

Eric Ketchum

---

<div class="post-metadata">

**Author:** ![Tarsier.HenrikLarsson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarsier.HenrikLarsson](https://forums.unrealengine.com/u/Tarsier.HenrikLarsson)\
**Post date:** [August 31, 2018, 11:39am UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/5 "2018-08-31T11:39:34Z")

</div>

Not sure if this is what you’re looking for, but if you just want to swap materials on multiple things, you can do this:

**SHIFT + S** to select all surfaces (or _Right Click_ \> _Select_ \> _Select all Surfaces_), and then **apply the material** you want.

You could also select the brushes you want, then press **SHIFT + B** to select all surfaces on those brushes, and then apply the material.

---

<div class="post-metadata">

**Author:** ![thnewlands](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thnewlands](https://forums.unrealengine.com/u/thnewlands)\
**Post date:** [September 29, 2018, 9:58pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/6 "2018-09-29T21:58:20Z")

</div>

Did you figure this out?

---

<div class="post-metadata">

**Author:** ![filibis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/filibis/32/733496_2.png) [@filibis](https://forums.unrealengine.com/u/filibis)\
**Post date:** [February 14, 2024, 9:21pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/7 "2024-02-14T21:21:36Z")

</div>

Reviving this as it’s still an issue with UE 5.3.2 version in 2024…

@Lovecraft_K , I saw that you provided a solution here: [Delete old material, replace with material instance doesn't work - #2 by Lovecraft\_K](https://forums.unrealengine.com/t/delete-old-material-replace-with-material-instance-doesnt-work/315847/2)  
However it’s currently not possible. UE gives an error/warning “The object to consolidate are not the same class”. Did they just drop this feature and not provided a better solution?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/0/2/b0233636924e854c93a67dc7be88f2ad6d5080e9.png)

Nevertheless I found out a workaround with Property Matrix, I shared details here: [Easy way to replace all references of a material? - #9 by filibis](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/9)

---

<div class="post-metadata">

**Author:** ![Twads9816](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/twads9816/32/1049194_2.png) [@Twads9816](https://forums.unrealengine.com/u/Twads9816)\
**Post date:** [June 3, 2024, 2:48pm UTC](https://forums.unrealengine.com/t/replacing-material-references-with-material-instances/310922/8 "2024-06-03T14:48:26Z")

</div>

The red message is just a warning. It doesn’t prevent you from replacing references. However, after doing this in 5.3, the references were not properly replaced in many assets (specifically Niagara systems), leaving them blank.
