This version of Unity is unsupported.

SpriteDataAccessExtensions.SetVertexCount

public static void SetVertexCount(Sprite sprite, int count);

Description

Sets the vertex count. This resizes the internal buffer. It also preserves any configurations of VertexAttributes.