This version of Unity is unsupported.

GUIStyle.CalcScreenSize

Switch to Manual
public Vector2 CalcScreenSize(Vector2 contentSize);

Description

Calculate the size of an element formatted with this style, and a given space to content.