This version of Unity is unsupported.

MaterialEditor.GetPropertyHeight

public float GetPropertyHeight(MaterialProperty prop);
public float GetPropertyHeight(MaterialProperty prop, string label);

Description

Calculate height needed for the property.