Unity Issue Tracker - Fields are misaligned in the Inspector window when using IMGUI and VisualElements together
Fixed
UUM-1959
Fields are misaligned in the Inspector window when using IMGUI and VisualElements together
Unity: UI Toolkit Controls
Fixed
2023.1.X
2022.2.X
Won't Fix
2022.1.X
2021.3.X
2020.3.X
2019.4.X
The fix won't be backported for this version since the UI Toolkit default inspector was introduced in 2022.2
The fix won't be backported for this version since the UI Toolkit default inspector was introduced in 2022.2
Not going to be fixed as this can only be fixed in packages (UI Builder and/or UI Toolkit) which are not actively maintained for 2020.X editors. Please consider using the Unity 2021LTS or more recent editions.
Reproduction steps:
1. Open the attached project "1421216 repro.zip"
2. Open Assets/Scenes/SampleScene.unity
3. In the Hierarchy window select "GameObject"
4. In the Inspector window observe the "Field Behavior" script component
Expected result: The fields are aligned
Actual result: The fields are misaligned