Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.1.X, 2021.2.X
Votes
0
Found in
2021.1
2021.2
2021.2.0b4
2022.1
Issue ID
1355315
Regression
No
Extra spacing is added in the Inspector when using Enum for Integer property
How to reproduce:
1. Open the user's attached project
2. In the Project window select Assets > Far Mat
3. Observe the Inspector
Expected result: Spacing between properties is the same
Actual result: There is extra spacing between the Stencil Comparison and Stencil ID properties
Reproducible with: Core RP Library 11.0.0 (2021.1.17f1), 12.0.0 (2021.2.0b6, 2022.1.0a5)
Cannot test with: 2018.4.35f1, 2019.4.29f1, 2020.3.15f2 (Parse error: syntax error, unexpected TVAL_ID at line 12)
Note:
- The issue doesn't reproduce when using a float:
[Enum(UnityEngine.Rendering.CompareFunction)] _StencilComp("Stencil Comparison", Float)
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a7
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b12
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.21f1