Unity Issue Tracker - UI Toolkit fails to draw EnumFields when using it on the PhysicMaterials inspector
Fixed
UUM-29039
UI Toolkit fails to draw EnumFields when using it on the PhysicMaterials inspector
Unity: UI Toolkit Framework
Fixed
2022.2.X
Won't Fix
2021.3.X
This issue was fixed in the latest stable release of Unity 2022. Since this is a minor issue that doesn't affect the majority of users, it will not be backported to 2021 at the moment.
Reproduction steps:
1. Open the “TestProject” Project
2. Select “Assets/test.physicMaterial” PhysicMaterial in the Project Window
3. In the top menu select Window > UIToolkit > Debugger
4. In the UIToolkitDebugger Window press the “Pick Element” Button
5. Select the “test” PhysicMaterial in the Inspector Window
Expected results: PropertyFields for PhysicMaterialCombine enum in the PhysicMaterial asset are drawn
Actual results: PropertyFields for PhysicMaterialCombine enum in the PhysicMaterial asset are not drawn