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
- URP Realtime reflection probes do not update when RenderProbe() is being called once per second
- Addressable terrain shader variants are stripped from the Player
- [iOS] Debug.Log() appears as <private> in Console app
- UI stays in the background when it is disabled in simulator
- A wrong log file is attached when project is launched with a "-logFile" command line argument
Add comment