Search Issue Tracker
In Progress
Fix In Review for 6000.2.X
Votes
0
Found in
6000.2.0a3
Issue ID
UUM-97149
Regression
Yes
Changing editor theme causes InvalidOperationException
*Steps to reproduce:*
# Open any project.
# Open Preferences window > General > Editor Theme.
# Set the editor theme to a different one.
*Actual results:* General settings section disappears, InvalidOperationException error occurs.
*Expected results:* No issues.
*Reproducible with versions:* 6000.2.0a3, 6000.2.0a1
*Not reproducible with versions:* 6000.1.0b5, 6000.1.0b3, 6000.0.36f1, 2022.3.57f1
*Tested on (OS):* MacOS Sequoia 15.2
*Notes:*
* Error message:
{code:java}
InvalidOperationException: Cannot modify VisualElement hierarchy during layout calculation
UnityEngine.UIElements.VisualElement+Hierarchy.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:673)
UnityEngine.UIElements.VisualElement.Clear () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualElementHierarchy.cs:256)
UnityEditor.SettingsWindow.ProviderChanged (UnityEditor.SettingsProvider lastSelectedProvider, UnityEditor.SettingsProvider newlySelectedProvider) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:276)
UnityEditor.SettingsTreeView.SelectionChanged (System.Collections.Generic.IList`1[T] selectedIds) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsTreeView.cs:66)
UnityEditor.SettingsTreeView.FocusSelection (System.Int32 selectedId) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsTreeView.cs:46)
UnityEditor.SettingsWindow.SelectProviderByName (System.String name, System.Boolean ignoreLastSelected) (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:111)
UnityEditor.SettingsWindow.RestoreSelection () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:242)
UnityEditor.SettingsWindow.InitProviders () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:168)
UnityEditor.SettingsWindow.DrawTreeView () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Settings/SettingsWindow.cs:500)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/IMGUIContainer.cs:403)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219){code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Add comment