Looking at the code
So you need to pass a FeatureLevel and name in for it, like FSplineMeshVertexFactory does: