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

Hi,

A space in a Verse property name is invalid syntax, so the intended behaviour here is it should not show up, but the problem should be highlighted/explained in your asset digest comments. Could you please share the full asset digest with me so I can take a look? Just want to check that debug output is correctly printing.

Thanks,
Jon

Totally makes sense that it’s invalid. Getting a highlited explanation in the digest sounds great. Might also be nice to see a warning in editor similar to Niagara: https://x.com/natereesedev/status/1973427121289830817

I’m sharing the asset digest with Teddy our CSM to pass off. Thanks for taking a look at this.

Hi Nate,

Yeah I would love that UI update too lol! I’ll double check on the state of that internally.

So it looks like from the digest your invalid properties are being flagged correctly:

<#> Exposed variable ‘Position Offset’ for particle system ‘REDACTED’ is invalid ‘The variable name ‘Smoke Value’ is not a valid Verse name’.

(Removed the material name in case that’s sensitive info at all lol).

Those are on materials though; I couldn’t find “Slot 01” or similar, are you failing to receive notification around ones on mesh_components specifically?

Thanks,
Jon

2 Likes

Thanks Jon!

Apologies the names have changed a bit since my first report. In the digest we have an asset called: DemoChest01

I added a slot name titled “Non Working Slot”. I’ve attached a screenshot of the mesh and the part of the digest that lists the params for the mesh.

This is a minor issue for sure - not impeding our workflow really at all. Just something I noticed and figured I’d callout in case other folks run into and wonder why their slots don’t show up.

FORT-984688 has been added to our ‘To Do’ list. Someone’s been assigned this task.