How do I generate a UStaticMesh object from an array of vectors?

The procedural mesh is just a workaround so I wouldn’t have to do too much coding as it doesn’t need to do much besides create a mesh.

The end of the code, as you said is the final dumping where I convert the procedural mesh to the static mesh.

BuildMeshDescription is in ProceduralMeshComponent/ProceduralMeshConversion.h
The header contains what looks like 2 helper functions that convert it each way, from MeshDescription to ProcMesh and ProcMesh to MeshDescription which can then be used to make the static mesh

I could probably cut the procedural mesh component part out but I don’t know how and yeah, it seems to be working so far.