This version of Unity is unsupported.

CanvasScaler.ScreenMatchMode.MatchWidthOrHeight

Description

Scale the canvas area with the width as reference, the height as reference, or something in between.