How to reproduce:
1. Create a new Unity project
2. Go to Window -> Analysis -> Project Auditor -> Start Analysis
3. Click on the three-dot menu -> UI Toolkit Live Reload
4. Observe the Console
Expected results: No errors are thrown
Actual results: "Window serialization will fail for Unity.ProjectAuditor.Editor.UI.ProjectAuditorWindow" error is thrown
Reproducible with: 6000.4.0a2, 6000.4.0a5, 6000.5.0a1
Not reproducible with:6000.2.11f1, 6000.3.0b10, 6000.4.0a1
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: 6000.4.0a1 requires "Project Auditor" package to be installed
Full error:
Window serialization will fail for Unity.ProjectAuditor.Editor.UI.ProjectAuditorWindow, 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:46)