This version of Unity is unsupported.

Tilemap.origin

public Vector3Int origin;

Description

The origin of the Tilemap in cell position.

This takes into consideration only placed Tiles in the Tilemap.