This version of Unity is unsupported.

Lightmapping.GIWorkflowMode.OnDemand

Description

Run lightmapping only when the user presses the bake button or calls Lightmapping.Bake / Lightmapping.BakeAsync.