C# - Mesh.Vertices and Mesh.TopologyVertices not in Sync

Before looking at the code, topological vertices are sorted by ascending x coordinate. Furthermore any coincident vertices in the mesh end up associated with the same topological vertex. So it’s not just that the ordering of vertices is not the same as the ordering of topological vertices, there may be different amounts of them.

Topologically speaking, all meshes are fully welded.

Each topological vertex has a list of vertex indices it is associated with.