Reproduction steps:
1. Open the attached “repro-project“
Expected result: the project opens successfully
Actual result: The Editor crashes
Reproducible with: 2022.2.4f1, 2023.1.0a26
Could not test with: 2021.3.17f1 - due to errors in the Console when downgrading the project
Reproduced on: Windows 10 Pro
Note: If the project does not crash after opening, enter Play Mode
First few lines of the stack trace:
{{0x00007ff74d3c96b4 (Unity) purecall }}
{{0x00007ff74af145da (Unity) Scripting::ScriptingWrapperFor }}
{{0x00007ff74ae303bb (Unity) SceneBindings::GetRootGameObjectsInternal }}
{{0x00007ff74a041356 (Unity) Scene_CUSTOM_GetRootGameObjectsInternal }}
0x0000022be5dfd9d5 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.SceneManagement.Scene:GetRootGameObjectsInternal (int,object) 7