x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to delete material slots from static mesh?

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:

alt text

What should I do to delete the unused slots?

Product Version: UE 4.17
Tags:
bez tytułu.jpg (81.8 kB)
more ▼

asked Aug 09 '17 at 04:08 PM in Using UE4

avatar image

Slavq
1.9k 150 144 201

(comments are locked)
10|2000 characters needed characters left

5 answers: sort voted first

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.

more ▼

answered Aug 17 '17 at 02:38 AM

avatar image

Mogard
52 1 7 11

avatar image Slavq Aug 22 '17 at 01:09 PM

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

avatar image Chris_IMAB Nov 08 '17 at 03:56 PM

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".

(comments are locked)
10|2000 characters needed characters left

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.

more ▼

answered Nov 04 '17 at 05:28 PM

avatar image

Maximum-Dev
709 12 17 22

(comments are locked)
10|2000 characters needed characters left

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".

more ▼

answered Nov 08 '17 at 03:55 PM

avatar image

Chris_IMAB
1 1

(comments are locked)
10|2000 characters needed characters left

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

more ▼

answered Sep 25 '18 at 03:57 AM

avatar image

ryan3dguru
6 1 2 2

(comments are locked)
10|2000 characters needed characters left

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!!

screenshot-2.jpg (148.5 kB)
screenshot-3.jpg (156.0 kB)
screenshot-4.jpg (147.0 kB)
screenshot-5.jpg (121.9 kB)
more ▼

answered Dec 07 '18 at 10:57 PM

avatar image

trowco
1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question