How to Fix “Scene couldn’t be loaded because it has not been added to the build settings” in Unity
Unity logs this when LoadScene asks for a scene the build does not contain. Where the scene list lives in 2022 LTS and Unity 6, each cause, and a validator script.