Steps to reproduce:
- Create a new project
- Open the UI Toolkit Debugger window (Window -> UI Toolkit -> Debugger)
- Select any window as the debugger's target
- Press the Texture Atlas Viewer button to open its window
- Right-click on the Texture Atlas Viewer window handle
- Select the UI Toolkit Live Reload option
- Observe the Console window
Actual results: A window serialisation error is thrown every time Live Reload is enabled or disabled
Expected results: No warnings or errors are thrown when enabling UI Toolkit Live Reload
Reproducible with versions: 6000.0.82f1, 6000.3.23f1, 6000.5.10f1, 6000.6.0b10, 6000.7.0a5
Tested on (OS): macOS 26.6.2, Ubuntu 24
Full error message:
- Window serialization will fail for UnityEditor.UIElements.Debugger.TextureAtlasViewerWindow, will not reload it. Make sure that there are no compile errors and that the file name and class name match.
UnityEditor.RetainedMode:UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:68)