How to add material slot to UDynamicMesh?

I was finally able to get this working by switching to the Geometry scripting API instead of the MeshDescriptor API.

This question can be closed.

Thanks.