Search Issue Tracker

Active

Under Consideration for 6000.0.X

Votes

1

Found in

2021.3.28f1

2022.3.5f1

2023.1.4f1

2023.2.0a23

2023.3.0a1

6000.0.0b11

7000.0.0a1

Issue ID

UUM-42624

Regression

No

EditorGUILayout.PropertyField is misaligned when in IMGUIContainer

--

-

Reproduction steps:
1. Open the “PropertyField” project
2. Open the “Sample” scene
3. Select the “Example” GameObject
4. Observe “UITK Field” and “IMGUI Field” in Inspector

Expected result: Both fields align
Actual result: The “IMGUI Field” is misaligned

Reproduced in: 2021.3.28f1, 2022.3.5f1, 2023.1.4f1, 2023.2.0a23

Reproduced using: macOS 13.4.1 (Intel), macOS 13.4.1 (M2)

The Property Field produced by UI Toolkit shows the same spacing as other fields in the Inspector, but the EditorGUILayout.Property Field produced by IMGUIContainer shows a different spacing from other fields in the Inspector

Comments (1)

  1. Trisibo

    Oct 20, 2023 22:21

    This causes the blue marks of prefab overrides to not appear in the inspector margin, but just beside the property label, which makes it easy to miss.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.