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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment