# How to delete material slots from static mesh?

**URL:** <https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759>\
**Category:** Asset Creation\
**Tags:** delete, unreal-engine, static, question\
**Created:** [August 9, 2017, 4:08pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759 "2017-08-09T16:08:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [August 9, 2017, 4:08pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/1 "2017-08-09T16:08:10Z")

</div>

Every imported static mesh LOD adds a new material slot. I want to use one material for all LODs, so I’ve assigned the same material for every LOD under the LOD Sections area. This way the ‘X’ buttons appeared, but they’re greyed out and I can’t click them:  
193382-  
What should I do to delete the unused slots?

---

<div class="post-metadata">

**Author:** ![Mogard](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mogard](https://forums.unrealengine.com/u/Mogard)\
**Post date:** [August 17, 2017, 2:38am UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/2 "2017-08-17T02:38:37Z")

</div>

I just ran into this issue also while using Megascans assets and found a way to workaround the bug:

- Add LOD0 back in as the last LOD
- the unused materials will be sorted to the bottom of the stack with the last one allowing you to click the ‘X’ button
- After clicking the last ‘X’ and the material has been removed, the new last slot will now allow you to click the ‘X’ button.
- Keep deleting until all of the unused materials are gone.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [August 22, 2017, 1:09pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/3 "2017-08-22T13:09:36Z")

</div>

Thanks, it seems like a bug that it doesn’t work right away. I’ll try this workaround soon, cheers!

---

<div class="post-metadata">

**Author:** ![Maximum-Dev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Maximum-Dev](https://forums.unrealengine.com/u/Maximum-Dev)\
**Post date:** [November 4, 2017, 5:28pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/4 "2017-11-04T17:28:44Z")

</div>

Hello,  
It’s not a bug. The additional material slots are there because each Megascans mesh (each LOD) has a different material ID. If you open a mesh and it’s LODs in a modeling package i.e 3Ds MAX, select all meshes and apply one material to all of them and export it out, upon importing in UE4 you’ll have 1 material slot only.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe4092c8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe4092c8](https://forums.unrealengine.com/u/anonymous_user_fe4092c8)\
**Post date:** [November 8, 2017, 3:55pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/5 "2017-11-08T15:55:21Z")

</div>

Very useful! Thank you!

Just in case someone else besides me did not understand the answer right away:  
Under the “Material Slot” is the passage “LOD Sections”  
There you have to change all the dropdown menues to the same material.  
Then the X’s will appear in “Material Slots”.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fe4092c8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fe4092c8](https://forums.unrealengine.com/u/anonymous_user_fe4092c8)\
**Post date:** [November 8, 2017, 3:56pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/6 "2017-11-08T15:56:10Z")

</div>

Very useful! Thank you!

Just in case someone else besides me did not understand the answer right away:  
Under the “Material Slot” is the passage “LOD Sections”  
There you have to change all the dropdown menues to the same material.  
Then the X’s will appear in “Material Slots”.

---

<div class="post-metadata">

**Author:** ![ryan3dguru](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ryan3dguru](https://forums.unrealengine.com/u/ryan3dguru)\
**Post date:** [September 25, 2018, 3:57am UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/7 "2018-09-25T03:57:38Z")

</div>

I had this same problem minus the megascans. In my case I wanted 4 lods 4096,2048,1024,512. I created the extra material inputs before I baked them out. I baked 2048 out from the screen where you set up lods, instead of the details in the main editor. instead of it putting it in the lod I assigned it to, it actually made a 5th lod. then I couldn’t delete any of the lods and it was greyed out. My fix was way more simple, I just reimported the model when I went into the screen UI to set up lods, x was now lit up and I could then delete them. hope this helps

---

<div class="post-metadata">

**Author:** ![the\_burger](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/the_burger/32/887569_2.png) [@the\_burger](https://forums.unrealengine.com/u/the_burger)\
**Post date:** [December 7, 2018, 10:57pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/8 "2018-12-07T22:57:53Z")

</div>

been dealing with this issues since i like reimport my assets alot… sure the LOD thing works but it was getting of the duplicate/non existing material set…

so heres my walkthrough of how to fix it!!

---

<div class="post-metadata">

**Author:** ![REDVIL44](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@REDVIL44](https://forums.unrealengine.com/u/REDVIL44)\
**Post date:** [February 21, 2019, 1:25pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/9 "2019-02-21T13:25:49Z")

</div>

Thank you so much! This worked for me.

---

<div class="post-metadata">

**Author:** ![Framais](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Framais](https://forums.unrealengine.com/u/Framais)\
**Post date:** [May 22, 2019, 1:40pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/10 "2019-05-22T13:40:48Z")

</div>

thanks, it worked for me too!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_8727b6a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_8727b6a51](https://forums.unrealengine.com/u/anonymous_user_8727b6a51)\
**Post date:** [June 26, 2019, 6:41pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/11 "2019-06-26T18:41:45Z")

</div>

Thread is getting old but finally figured out another not so obvious (at least not so obvious to me) issue I kept running into.

Material Slots can only be deleted from the ‘bottom up’

For example, let us say that my character has 5 materials, and I decide to get rid of material 3, I can empty the slot BUT i need to move materials 4 and 5 up one so that the empty material slot is at the bottom,

What I do most often is move the bottom most material (material 5 in this example) to material 3, and reassign the textures to the material slot as well as to my LOD slots. **THEN** I am able to click the white X’s to remove the material slot I no longer need!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0f2995cd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0f2995cd](https://forums.unrealengine.com/u/anonymous_user_0f2995cd)\
**Post date:** [July 19, 2019, 12:02am UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/12 "2019-07-19T00:02:56Z")

</div>

**Does any one know if there a way to batch this,**

removing empty slots on many assets, theoretically you are just clicking X to remove empty nodes no longer used.

like Trowco said, empty nodes can come up often with re-iterating and reimporting alot.

(dreamwish, mel script that finds your unreal names and updates your maya shader names respectively)

Thanks of your time

---

<div class="post-metadata">

**Author:** ![RysenSpark](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RysenSpark](https://forums.unrealengine.com/u/RysenSpark)\
**Post date:** [December 1, 2021, 4:56pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/13 "2021-12-01T16:56:43Z")

</div>

Thank you so much for specification

---

<div class="post-metadata">

**Author:** ![Oren123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oren123456](https://forums.unrealengine.com/u/Oren123456)\
**Post date:** [June 14, 2022, 6:14am UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/14 "2022-06-14T06:14:42Z")

</div>

Hi  
Is there any way to delete unused material slots in UE5.0.2?

---

<div class="post-metadata">

**Author:** ![Viter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Viter](https://forums.unrealengine.com/u/Viter)\
**Post date:** [June 27, 2022, 6:31pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/15 "2022-06-27T18:31:40Z")

</div>

Hi i used 3 hours on this…

You need to drag the menu FAAAAR out, then a little trash bin appears.  
[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/9/b692173fbd2c8911f441171e3c58c42f2397dab9.png) ](https://i.imgur.com/kS0UaTA.png)

---

<div class="post-metadata">

**Author:** ![Pixtim](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/pixtim/32/571238_2.png) [@Pixtim](https://forums.unrealengine.com/u/Pixtim)\
**Post date:** [October 18, 2022, 3:17pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/16 "2022-10-18T15:17:14Z")

</div>

oO !!!  
lol…  
really, really thanks!

---

<div class="post-metadata">

**Author:** ![MilionX](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/milionx/32/1194703_2.png) [@MilionX](https://forums.unrealengine.com/u/MilionX)\
**Post date:** [March 11, 2023, 3:05pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/17 "2023-03-11T15:05:48Z")

</div>

u are legend

---

<div class="post-metadata">

**Author:** ![MangyGoblinGam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MangyGoblinGam](https://forums.unrealengine.com/u/MangyGoblinGam)\
**Post date:** [April 7, 2023, 6:11pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/18 "2023-04-07T18:11:39Z")

</div>

Epic does it again…

---

<div class="post-metadata">

**Author:** ![ASDRGADFGHSDFGSD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ASDRGADFGHSDFGSD](https://forums.unrealengine.com/u/ASDRGADFGHSDFGSD)\
**Post date:** [June 30, 2023, 1:28am UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/19 "2023-06-30T01:28:29Z")

</div>

Hi! Please describe what you mean under “drag the menu FAAAAR out”? I have the same problem, but can not understand ☹

---

<div class="post-metadata">

**Author:** ![robodrunk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robodrunk](https://forums.unrealengine.com/u/robodrunk)\
**Post date:** [July 1, 2023, 1:41pm UTC](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759/20 "2023-07-01T13:41:01Z")

</div>

Just move the panel split to the left (make it wider) - the delete button is to the right of the Slot Name field entry which is too wide and hides the button.

[Next page](https://forums.unrealengine.com/t/how-to-delete-material-slots-from-static-mesh/401759.md?page=2)
