Search Issue Tracker

Fixed in 2020.3.X

Votes

0

Found in

2020.3.0f1

Issue ID

1379897

Regression

No

Enum serialized properties are instantiated as integer serialized properties and an error appears "type is not a enum value"

Serialization

-

How to reproduce:
1. Open project "TypeIsNotEnum.zip"
2. In the Project window right-click Create>Grading>Rubric
3. In the Inspector window press "+" and select "ObservableCriteria"
4. Observe the Console window

Expected result: No errors
Actual result: Error appears: ("type is not a enum value UnityEditor.SerializedProperty:get_enumValueIndex () ComparatorEnumDrawer:OnGUI ")

Reproducible with: 2020.3.0f1, 2020.3.2f1
Not reproducible with: 2019.4.32f1, 2020.3.3f1, 2020.3.24f1, 2021.2.1f1, 2022.1.0a16

  1. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.3f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.