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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Set Material not working for skeletal mesh components


by description the "Set Material" BP node works for primitive components, which (referring to https://docs.unrealengine.com/latest/INT/Programming/UnrealArchitecture/Actors/Components/index.html#primitivecomponents )include skeletal mesh components - however, every material I tested (on various skeletal meshes) just appeared as the default Grey checkerboard on skeletal meshes when PIE at 4.7.6.


  1. Spawn any skeletal mesh actor

  2. get all mesh components

  3. cast to mesh component

  4. set material

Product Version: Not Selected
more ▼

asked Apr 28 '15 at 09:27 PM in Bug Reports

avatar image

245 11 25 42

avatar image Lovecraft_K ♦♦ STAFF Apr 29 '15 at 04:03 PM

Hi AlexW88 -

Can you post a screenshot of your Blueprint setup which you have for this particular issue?

Thank You

Eric Ketchum

avatar image AlexW88 Apr 29 '15 at 04:16 PM

Hi Eric,

sure.If I replace the skeletal Mesh component with a static mesh component (inside the spawned Actor BP)the new Material shows up correctly. The Mesh Preview Variable is of kind "Mesh Component".

alt text

material_issue.png (145.3 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

alt text

unknown.png (232.2 kB)
more ▼

answered Jan 10 '19 at 04:42 PM

avatar image

6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hi AlexW88 -

Thank you for your report, I was able to reproduce this issue internally and have placed a bug report, for reference UE-14661. As we work toward a solution I will keep you informed here.

Thank You Again -

Eric Ketchum

more ▼

answered Apr 29 '15 at 06:14 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image mserena May 06 '15 at 11:35 PM

I'm having this same issue as well. Thank you

avatar image mserena May 21 '15 at 12:55 AM

is this flagged to make it into 4.8?

avatar image Lovecraft_K ♦♦ STAFF May 21 '15 at 04:07 PM

Hi mserena -

It currently is being worked on by our engineers and does not look like it will be finished in tested before 4.8 releases.

Thank You

Eric Ketchum

avatar image mserena May 22 '15 at 11:51 AM

ok thank you Eric. that's a bugger, was hoping to release an item to marketplace, but need to hold off then. thanks for getting back to me, appreciate it.

avatar image Lovecraft_K ♦♦ STAFF Jul 13 '15 at 06:15 PM

Hi -

After review by our developers this issue is working as designed. The particular problem that many are facing is that the material that you are assigning to the spawned Skeletal Mesh does not have the Usage set correctly. Since the material is not assigned until Runtime, you will need to go into the material and manually click on the "Used with Skeletal Mesh" option and re save your material. The material should then render as expected at runtime.

Thank You -

Eric Ketchum

avatar image mserena Jul 29 '15 at 11:47 AM

hey Eric, i don't seem to get any emails and randomly check to see if you've replied. anywho, I just tried that and it's already on for me. my issue might be slightly different, but I have a box collision blueprint that detects what shaders are in the volume and assigns a rgb matte at runtime. the meshes are already in the scene and not made at runtime (but i tried that too), i've attached an image of my problem. the character on the left is a skeletal mesh, and the right a static mesh (instanced works too). The BP works for both mesh types, it prints out the 3 materials per asset & it's material type and the worldGridMaterial, but the shader only assigns on the non skeletal meshes.

I've drawn across both characters to show it working on the right and the material not assigning on the left.

thanks for your time Eric

alt text

untitled-1.jpg (114.8 kB)
avatar image Lovecraft_K ♦♦ STAFF Jul 29 '15 at 03:16 PM

Hi mserena -

The Red Matte material that your BP applies at runtime, can you go into that material and see if in the Material Attributes Usage section, if Used with Skeletal Mesh is checked true, if not please check it true, save your material and then run your BP test again.

If you are still getting an issue, I might need to see the BP that is generating the test from your above picture.

Thank You -

Eric Ketchum

avatar image mserena Aug 02 '15 at 11:17 PM

AH BRILLIANT!!!!! That works perfectly. Thanks so much for solving that for me Eric. Thank you thank you thank you.

avatar image Drugox Jun 22 '17 at 01:55 AM

Thank you very much Eric! Even nowdays I had this issue until I found this post.

avatar image DennisMozart Mar 17 '17 at 01:33 AM

This is still a bug, even if you set the material as a skeletal mesh material, don't work.

If you code to set material by some input workd perfectly but if you set to change materials just calling the code instead of using inputs, get the same results of a mesh without a material.

See the print bellow when i try to set materials of some car, if i press the g key works, but if i don't and use the custom event BurnEffect, the mesh gets no material after be called by code the event.alt text

sem título.png (87.4 kB)
avatar image Matt.Williams Mar 28 '17 at 09:34 PM

Hi DennisMozart,

Can you confirm with a print string that your event is actually firing? In this case, if G is working, then it probably means your event isn't even firing properly. If the event isn't firing properly, then your issue is something different than what is described in this thread. If that's the case, please open a new thread investigating the event itself.

-Matt W.

avatar image slow_izzm Sep 12 '18 at 03:14 PM

I am having this issue with 4.19 ... I have Used with Skeletal Mesh checked and my event is firing (tested).

Is this an old issue that has resurfaced in 4.19, and/or is there a solution I am not seeing?

avatar image G.Alessandro Jun 04 '17 at 10:20 AM

So, I'm new with the software and I'm using it to do a school project. I need to change a texture of sphere if a variable is between 396 and 753. So I created this. alt text

Because is not working i asked on reddit and people couldn't help me to find the error so I came across this post where you have been discussing a bug about Set Material. The Set Integer is attached to a Timeline that used to modify the value of the variable once every quarter of a second. Now only modifies it once and then freezes when arrives to the IF.

Probably is just me being incompetent but i though it was worth to try here.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I was having a similar issue and I found I needed to turn on "Used with Skeletal Meshes" box under Usage in the material settings tab and then it worked fine.

That might be a different issue to the one being described in this thread as this seems to relate to an older bug, but in 4.18 this was a problem I ran into and how I solved it.

more ▼

answered Jan 05 '18 at 11:27 AM

avatar image

66 3 6 12

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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