This version of Unity is unsupported.

CanvasRenderer.Clear

Switch to Manual
public void Clear();

Description

Remove all cached vertices.