Hello,
I can’t seem to get the material IDs to work once I bake the dynamic mesh to static mesh, my static mesh still shows only 1 Material Slot. (Left-Static mesh, Right-DynamicMesh)
I have two slots one for floor and one for walls.
Here is the entire code snippet:
Bake to Static Mesh Function:

