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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #UUM-35561