Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.34f1
2022.3.18f1
2023.2.7f1
2023.3.0b4
6000.0.0b11
Issue ID
UUM-61195
Regression
No
Editor throws the error "Failed to load window layout "UserSettings/Layouts/default-2022.dwlt": UnityEditor.LayoutException: No windows found in layout" when a UIBuilder Window is docked
Reproduction steps:
1. Open the attached project “ReproProject”
2. Go to the menu: Tools > Build Profile Manager
3. Dock the recently open window anywhere in the Editor
4. Close and re-open Unity
5. Observe the Console Window
Expected result: No errors in the Console Window and the “Build Profile Manager Window” is docked
Actual result: The Window is not docked and the error is thrown “Failed to load window layout "UserSettings\Layouts\default-2022.dwlt": UnityEditor.LayoutException: No windows found in layout.
Failed to load window layout "{path}/AppData/Roaming/Unity/Editor-5.x/Preferences\Layouts\current\default-2022.dwlt": UnityEditor.LayoutException: No windows found in layout”
Reproducible with: 2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4
Reproducible on: macOS (Intel) 14.2.1, Windows 10 (10.0.19045) 64bit (by user)
Notes:
- The project that has a package imported as an Embedded package (this problem also happens when the package comes from PackMan)
- Although there were no errors in 2023 stream the “Build Profile Manager” Window is not docked.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Resolution Note:
Calling AssetDatabase.Refresh() during OnEnable() is not supported and we have no plans to invest the time necessary to support it any time soon.
You can possibly use a delayed call (https://docs.unity3d.com/ScriptReference/EditorApplication-delayCall.html) if it's important for you to invoke this method in OnEnable, but this is a heavy call to make and I would rather advise making it happen on user input rather than automatically.