This version of Unity is unsupported.

BoundsInt.size

public Vector3Int size;

Description

The total size of the box.

size.x is the width, size.y is the height and size.z is the depth of the box.