Search Issue Tracker
Duplicate
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
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-35561
Comments (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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
This is a duplicate of issue #UUM-35561