Search Issue Tracker
Fixed in 2018.2.X
Votes
1
Found in
2017.3.0b6
Issue ID
963413
Regression
Yes
PropertyField doesn't show enum popup when used in ScriptedImporterEditor
How to reproduce:
1. Download attached project file
2. Select "Test.test" in the project Assets Window
3. Check the inspector. It has "Option" property that is defined in the importer class as an enum variable (TestEnum type).
Actual result: EditorGUI.PropertyField and EditorGUILayout.PropertyField shows a popup for enum properties when used in a custom inspector (custom editor class that implements UnityEditor.Editor). However, they show an int field (number input field) when used in ScriptedImporterEditor.
Reproduced with: 2017.3.0b7, 2018.1.0a2
Not reproduced with*: 2017.1.2p2, 2017.2.0p1, 2017.3.0a7
Regression since: 2017.3.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment