Is there a way to assign a material to all selected static meshes?
Selecting multiple meshes and dragging the material onto one of them applies it only to that mesh.
In the Details panel, Materials rollout, if there are multiple materials per element, they are collapsed with a message that says “Display n materials”. If you hover over that text, a tooltip pops out saying “Drag and drop a material here to replace all materials”.
Unfortunately, doing that achieves nothing. Is this a bug?
I checked for a keyboard shortcut that might achieve this, but there’s nothing there either.
This seems like it should be a simple Right-click Material > Apply to Selected option, but I cannot find anything for the life of me.
I can actually do this quite easily with Blueprints, by loading all the actors I want into an array and assigning the material that I want, but unfortunately, I need to do this in the editor itself, and not when the level is playing. When I exit Play, the material resets to what it was, so that’s no good for me.
I’ve just tried, and yes, the drag’n’drop option does not work.
Alternatively, if you want to automate this task by blueprint, checkout how to use BLUtility (enable it by checking “Editor Utility Blueprints” in Preferences/Experimental), that allows you tu run blueprint functions in editor.
Here’s a simple one I made as example that replace all selected actors first material by the one I want :
I thought I would bump this, because this feels like a bug not something intended by unreal. I am watching some tutorials and I can see them ctrl+clicking several meshes then dragging a material to one mesh, and thus applying to all of them.