TLDR Meshes I’m creating using modeling tools/cube grid keep getting unwanted extra material slots generated and recommended fixes don’t permanently delete those slots.
**
I’m on 5.4. I created this Dynamic Mesh using Cube Grid, and assigned it a material.
Then I booleaned it with another mesh to create a hole. Doing this autogenerated a second material slot with the “WorldGridMaterial” assigned to the edges of the hole.
I don’t need this extra slot, so following search results, I did:
- Modeling Mode → Attributes → Edit Materials
- Assign the material I want into Index [0], set it as Active Material
- Select All, then “Assign Active Material”.
- On now unused Index [1], click drop down and select Delete. When I do this the slot does disappear from the editor panel.
- Click “Accept changes” on the mesh.
(I’ve also tried this in reverse order, assigning to Index 1 and deleting Index 0)
However after this, when I select the mesh again, the “Element 1” material slot is still there in the details panel. And if I go back into Modeling Mode → Attributes → Edit Materials, the “Index [1]” slot has reappeared (see screenshot).
Some search results suggest issues with LODs can cause this, but as this is a dynamic mesh, I can’t open it in the static mesh editor regardless.
On this particular mesh it’s not a huge deal to have 1 extra slot, but I’ve had issues on others with like 7-8 unwanted slots getting generated, and being unable to delete them. Any tips?
