Unity Issue Tracker - Build Profile window (list view) throws an error every tick when renaming a build profile in Project hierarchy view
Fixed
UUM-57406
Build Profile window (list view) throws an error every tick when renaming a build profile in Project hierarchy view
Unity: UI Toolkit Authoring Framework
Fixed
2023.3.X
2023.2.X
2022.3.X
Fixes editor binding exceptions happening when a SerializedObject has been modified then disposed in build profile list view when renaming build profile asset.
We have a window with a list view that is based on build profile scriptable objects as the itemsSource. We've noticed that when manually renaming the file in the Project Hierarchy we keep getting the error in the attached callstack file (until we manually delete the list view entry). This is how to repro it:
-Make sure build profile diagnostic flag is enabled (in Edit > Preferences > Diagnostics > Editor > EnableBuildProfileWorkflow)
-Open build settings
-Create new custom build profile (Press Add Build Profile on top left)
-Find that build profile in the project hierarchy (it will be in Assets/Settings/BuildProfiles)
-Rename the asset in the Project Hierarchy with the build profile window opened (the one opened from the build settings)
-Check the console. It will throw an error every frame until you delete the respective build profile in the build profile window list view
Prioritise and Follow this issue
Have a workaround or additional info about this issue?