# Easy way to replace all references of a material?

**URL:** <https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [September 15, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726 "2016-09-15T18:48:47Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![GotSomePills](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GotSomePills](https://forums.unrealengine.com/u/GotSomePills)\
**Post date:** [September 15, 2016, 6:48pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/1 "2016-09-15T18:48:47Z")

</div>

So, since 4.11 i can no longer run my project in debugGame through visual studio because “WorldGridMaterial contains editor only data”, the problem there is, over 300 assets reference that material apparently including default content from the engine.

Is there an easy fix to this?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_128d48a2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_128d48a2](https://forums.unrealengine.com/u/anonymous_user_128d48a2)\
**Post date:** [September 16, 2016, 5:45am UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/2 "2016-09-16T05:45:29Z")

</div>

Delete the Material, you should be asked if you want to replace references, just point to your new material.

Obviously backup your projects beforehand

---

<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:40am UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/3 "2018-08-31T11:40:10Z")

</div>

Might not be exactly what you’re looking for, but if you just want to change materials on a bunch of brushes at the same time:

**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:** ![Daniel\_Mine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daniel_mine/32/571244_2.png) [@Daniel\_Mine](https://forums.unrealengine.com/u/Daniel_Mine)\
**Post date:** [June 4, 2022, 1:15pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/4 "2022-06-04T13:15:45Z")

</div>

The problem for me is that when I try to replace the materials and I write the name of the material I want to replace, the filter doesn’t find it, It happens randomly with many materials. but they are all in the same folder, so it doesn’t make any sense

---

<div class="post-metadata">

**Author:** ![Kveres](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kveres](https://forums.unrealengine.com/u/Kveres)\
**Post date:** [July 21, 2022, 3:21pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/5 "2022-07-21T15:21:33Z")

</div>

Daniel,

If you haven’t already had your question answered, make sure that you create a material instance for the material you want to replace with.

I was having the same problem and this worked it out for me.

---

<div class="post-metadata">

**Author:** ![devogelt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devogelt](https://forums.unrealengine.com/u/devogelt)\
**Post date:** [February 2, 2023, 10:09pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/6 "2023-02-02T22:09:28Z")

</div>

Finding this thread years later. Replying in case someone else, like me, is trying to figure this one out.

It looks like you can’t use the Delete Asset interface’s “Replace References” feature to replace a _Material_ with a _Material Instance_. You can only select _Materials_. Likely it is the same in reverse; you can’t use it to replace a _Material Instance_ with a _Material_.

I haven’t found a better method yet than manually replacing each _Material_ with it’s correct _Material Instance_. It’s awful.

---

<div class="post-metadata">

**Author:** ![RealMrSky](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RealMrSky](https://forums.unrealengine.com/u/RealMrSky)\
**Post date:** [February 21, 2023, 1:32pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/7 "2023-02-21T13:32:09Z")

</div>

This can get really cumbersome, especially when replacing the Materials from Asset packs with a custom master material.  
I wish we’d have a way around this.

---

<div class="post-metadata">

**Author:** ![Moonlight\_Gleam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Moonlight\_Gleam](https://forums.unrealengine.com/u/Moonlight_Gleam)\
**Post date:** [March 20, 2023, 9:57am UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/8 "2023-03-20T09:57:20Z")

</div>

Maybe with an utility widget? Im not versed in them, but Im trying somethings out…it could work…maybe. If I manage something Ill post it here

---

<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, 8:51pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/9 "2024-02-14T20:51:12Z")

</div>

Guys, I think I found a good workaround to this problem thanks to chatGPT 🙂

In short, use [Property Matrix](https://docs.unrealengine.com/5.3/fr/property-matrix-in-unreal-engine/) for bulk replacing the material with material instance.

Here are the steps in detail (I use UE 5.3.2):

1. Right click to your “Material” \> Asset Actions \> Select Actors Using This Asset (This will select all the actors/objects using this Material)
2. Right click to one of your selected objects \> Edit Selection in Property Matrix (You may want to select “Edit Components in the Property Matrix” if you used “Import Into Level” feature)
3. Select all objects at the “Property Matrix Editor” window and go to “Details” tab. Then click to “Display # Materials” under Materials section (If you have more than one element, click display for all of them).
4. From the Content Browser, drag and drop your “Material Instance” to the Material you want to replace at the Property Matrix Editor.
5. Click “Save this asset” at top left of Property Matrix Editor (This might take a while depending on your object amount).

That’s it! You can now delete the Material if you want.  
I hope this works out for your case as well. Good luck!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/9/09940785da19d0d908b6ed11e39ccd1e62d2fdf5.png)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/8/e88723ba51b03add91295c2fb94bd99dd91b8649.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/c/f/fcf291a869222c62309047a3a4ff27b469f7128a.png)

---

<div class="post-metadata">

**Author:** ![devogelt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@devogelt](https://forums.unrealengine.com/u/devogelt)\
**Post date:** [February 20, 2024, 8:39pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/10 "2024-02-20T20:39:13Z")

</div>

I believe this method may only work if you are trying to replace in-level material references. In my case, I desired to change the material assignment at a project level.

---

<div class="post-metadata">

**Author:** ![johanstrom\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@johanstrom\_1](https://forums.unrealengine.com/u/johanstrom_1)\
**Post date:** [July 13, 2024, 6:39pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/11 "2024-07-13T18:39:19Z")

</div>

Since this shows up in search engines…

From the content browser you replace references from material to material instance by chosing the material and material instance in question and select **Asset Actions/Replace References** from the contextual menu (right click).

You will get a warning that they are not the same class, but you can still replace references. Select the material instance (the one you want to keep) and click Consolidate. Unreal automatically deletes your original material after so you better have copied any textures from material to material instance before.

---

<div class="post-metadata">

**Author:** ![phildoooo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phildoooo](https://forums.unrealengine.com/u/phildoooo)\
**Post date:** [July 25, 2024, 2:17pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/12 "2024-07-25T14:17:06Z")

</div>

So for me, I have my main file in c4d… I brought everything to unreal and added materials… But everytime I go back to c4d and add a piece of geometry it screws up all my materials and gives me loads of different materials on the object. the most time consuming part is clicking ‘Display 21 materials’ and then 1 by 1 removing them so that I can reapply the correct material.

I was hoping I could just right click on ‘display 21 materials’ and click clear all or something ☹

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

---

<div class="post-metadata">

**Author:** ![brimwd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brimwd](https://forums.unrealengine.com/u/brimwd)\
**Post date:** [August 6, 2025, 9:07am UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/13 "2025-08-06T09:07:11Z")

</div>

This is the correct answer.

---

<div class="post-metadata">

**Author:** ![SirDustyDirks](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sirdustydirks/32/1087327_2.png) [@SirDustyDirks](https://forums.unrealengine.com/u/SirDustyDirks)\
**Post date:** [June 11, 2026, 2:51pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/14 "2026-06-11T14:51:33Z")

</div>

This worked for me. Thank you!

---

<div class="post-metadata">

**Author:** ![Matterform\_Inc](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/matterform_inc/32/1206128_2.png) [@Matterform\_Inc](https://forums.unrealengine.com/u/Matterform_Inc)\
**Post date:** [July 9, 2026, 7:50pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/15 "2026-07-09T19:50:44Z")

</div>

Worked great! Thanks

---

<div class="post-metadata">

**Author:** ![Bladnarr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bladnarr](https://forums.unrealengine.com/u/Bladnarr)\
**Post date:** [August 15, 2026, 3:12pm UTC](https://forums.unrealengine.com/t/easy-way-to-replace-all-references-of-a-material/73726/16 "2026-08-15T15:12:13Z")

</div>

The meshes in your level may use material overrides. If you reset those, they should go back to the default ones from the mesh. Click a static mesh then ctrl+shift+a to select all static meshes (ungroup first so you don’t select any blueprint meshes by accident), then reset override materials.

You may want to exclude cubes and plains from this btw. To do that you just select one exemplar of anything you don’t want to reset, a plain or cube for example, then press shift E to select all of them, then press H to hide.

When you’ve selected all meshes in the level with ctrl+shift+a you can right click and “show only selected” (by right clicking one of the selected meshes) to see if anything else is included that shouldn’t be (view via unlit because the skylight will be hidden). If you find a cylinder for example, click it, shift e to select all, hide.

Then reset “override materials”.
