EditorSceneManager.CalculateAvailableSceneCullingMask

Switch to Manual
public static ulong CalculateAvailableSceneCullingMask ();

Returns

ulong The lowest unused bit of the union of all culling masks.

Description

Go through all Scenes and find the smallest unused bit in the unition of all Scene culling masks.