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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment