This version of Unity is unsupported.

MeshWriteData.vertexCount

public int vertexCount;

Description

The number of vertices successfully allocated for VisualElement content drawing.