Unity Issue Tracker - Inspector override marker UI is not updated after "Apply All"
Fixed
UUM-34235
Inspector override marker UI is not updated after "Apply All"
Unity: UI Toolkit Controls
Fixed
2023.2.X
2023.1.X
2022.3.X
2021.3.X
Won't Fix
2023.3.X
2022.2.X
Fixed UUM-34235 @sebastiend:
Editor: Fixed UUM-34284: Fix for 2023.2.X: Inspector override marker UI is not updated after "Apply All"
Editor: Fixed UUM-34282: Inspector override marker UI is not updated after "Apply All"
Fixed UUM-34235 @sebastiend:
Editor: Fixed UUM-40038: Fix for 2022.3.X: Inspector override marker UI is not updated after "Apply All"
Fixed UUM-34235 @sebastiend:
Editor: Fixed UUM-49274: Fix for 2021.3.X: Inspector override marker UI is not updated after "Apply All"
When the Inspector UI mode is set for UIToolkit, the override marker against a public scripted variable is not updated after using Apply All from the Overrides dropdown. The Inspector will show the correct override status after forcing a UI repaint.
Repro:
0. In Project Settings ensure Inspector is using UIToolkit, not IMGUI.
1. Create instance and make it a Prefab.
2. Add a script with public int MyInteger.
3. Override MyInteger value and notice override marker.
4. "Apply All" from the Overrides dropdown and notice the override marker is still visible.
5. Resize the width of the Inspector to force a repaint and notice that the override marker disappears.
This behaviour only seems to occur for publicly exposed scripted variables. It does not occur at all with IMGUI.
Expected behaviour: The override marker disappears after clicking Apply All.
Actual behaviour: The override marker remains until the Inspector UI is forced to repaint.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?