Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2019.4.1f1
2020.2
2021.1
Issue ID
1305546
Regression
No
Enum field is displayed as an integer value after adding different derived instances with an enum field to a list
How to reproduce:
1. Open the user's attached project "SerializedReferenceBug.zip"
2. Right-click on the Project window and click on the appeared context menu's "Create" > "MySo" item
3. Select the "New My SO" file
4. In the Inspector view, click the "Add MyDerived instance" button
5. Click the "Add MyOtherDerived instance" button
6. Observe Reference List > Element 1 > Enum Field field's and value's types
Expected result: Enum field is displayed as an integer value in the text field
Actual result: Enum field is displayed as a dropdown list with string values
Reproducible with: 2019.4.19f1, 2020.2.3f1, 2021.1.0b4, 2021.2.0a2
Not reproducible with: 2021.2.0a3
Could not test with: 2018.4.31f1 (Serializable is not introduced yet)
Notes:
- Not reproducible when Reference List is collapsed
- First used derived object's type ("MyDerived" or "MyOtherDerived") will always show an enum field as a dropdown list
Workaround:
- Click somewhere in the Editor and then select a "New My SO<...>.asset" file in the Project window. Enum fields will become dropdown lists with string values
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment