This happens when restoring SceneSetup which did not have active scene in it. It did not saved correctly because active scene was Untitled*.
To fix this, whether Untitled* scene should be saved to SceneSetup or any other (random or first) scene should be made as active.