When Unity is precomputing or baking Global Illumination, respect the Scene Visibility setting of a [[GameObject] with a MeshRenderer or Terrain component.
This property requires that a SceneView be present in the editor for it to have any effect; this includes while in batch mode. See EditorWindow and SceneVisibilityManager for more information.