private static void RevertIsolationCurrentStage()
        {
            if (StageNavigationManager.instance.currentItem.isPrefabStage)
            {
                SceneVisibilityState.prefabStageIsolated = false;
                SceneVisibilityState.SetSceneIsolation(StageNavigationManager.instance.GetCurrentPrefabStage().scene, false);
            }
            else
            {
                SceneVisibilityState.mainStageIsolated = false;
                for (int i = 0; i < SceneManager.sceneCount; i++)
                {
                    var scene = SceneManager.GetSceneAt(i);
                    SceneVisibilityState.SetSceneIsolation(scene, false);
                }
            }

            //If no more isolation, ensure that every scenes in DB has it's isolation cleared (including unloaded scenes)
            if (!SceneVisibilityState.prefabStageIsolated && !SceneVisibilityState.mainStageIsolated)
            {
                SceneVisibilityState.ClearIsolation();
            }
        }