- edited description
Enum dropdown not being displayed
I have a field that takes an enum, but the field does not appear in the inspector. Here is the enum definition:
Here are the attributes I'm using:
Here is what is displayed in the inspector:
I am using Odin Version 2.0.13.0 and am using Editor Only mode enabled. I am using Unity 2018.2.14f1 on Mac OS 10.13.6
Comments (5)
-
reporter -
reporter After experimenting with various Attributes, I was able to get it to show. The problem was the [Required] tag. Removing that caused the field to appear.
-
reporter - marked as minor
-
That's odd. This should display an error message because all the Required attribute is display an error if a reference is null - which an enum obviously can't be.
But for some reason that has just been disabled in the code. I'll see if I can figure out what is going on here.
-
- changed status to resolved
Fixed the issue. Thanks for reporting this :)
- Log in to comment