Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.2.X
Votes
1
Found in
2021.2.0a5
2021.2.0b1
2022.1
Issue ID
1345171
Regression
Yes
Enum HumanBodyBones does not point to correct value when using PropertyField in UIToolkit
How to reproduce:
1. Open the attached project's Scene labeled "Bug"
2. In the Hierarchy, select the "Armature_UIToolkit" GameObject
3. In the Inspector, view the currently selected "Bone" enumerator value
4. Click the "Attach Prop" Button
5. Observe the Console Window
Expected result: Currently selected enum value is logged
Actual result: The sequential enum value is logged
Reproducible with: 2021.2.0a5, 2021.2.0b2, 2022.1.0a1
Not reproducible with: 2020.3.13f1 (1.0.0-preview.14), 2021.1.14f1, 2021.2.0a4
Couldn't test with: 2019.4.28f1 (UI Toolkit is not available)
Note:
- Not reproducible with IMGUI PropertyField
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.1):
Fixed in Unity 2022.1.0a6 and above
Resolution Note (fix version 2021.2):
Fixed in Unity 2021.2.0b9