Reproduction steps:
- Open the “DynLayoutLoading” project
- Click DynamicLayout Tests → Load Dynamic Layout
Expected result: New custom Editor window pops out
Actual result: Error in the Console
Reproducible with: 2023.1.0a16
Could not test with: 2020.3.41f1, 2021.3.12f1, 2022.1.21f1, 2022.2.0b12 (WindowLayout:ShowWindowWithDynamicLayout is not supported)
Reproduced on: Windows 10
Error:
Failed to load window layout; no view defined
UnityEditor.WindowLayout:ShowWindowWithDynamicLayout (string,string)
DynLayoutLoading:LoadDynLayout () (at Assets/Editor/DynLayoutLoading.cs:9)