How to get asset material slot name using blueprints?

How can I get an Asset “Material Slot Name” using Editor Utility Blueprint? I can get “Material Name” and “Material Slot Index” by casting selected asset to StaticMesh, but I can’t get material slot name. Get Material Slot Names node target is Mesh Component, but if I try to cast to Mesh Component the cast fails.

Thank you very much for any help!

Try this:

My Products

2 Likes

Thank you very much!! I’ve tried “Get Static Materials” but forgot to try breaking it! This worked like a charm!