Material Slots with names containing spaces do not show in Mesh Components

Summary

Meshes containing material slots that have spaces in their names do not show up on Mesh Components in Scene Graph.

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Assets

Steps to Reproduce

Import a mesh with multiple material slots. Update the names of the slots to something like: “Slot 01”, “Slot02”, “Slot 03”. Make sure Slot02 has no spaces. Compile Verese. Make a prefab, add an entity and add a mesh component with the imported mesh.

Expected Result

The Mesh Component should show all available slots, or I should not be able to have spaces within the slot names.

Observed Result

The Mesh Component will not display material slots that have spaces in their names. In the above example, we would only see Slot02.

Platform(s)

PC