Enum dropdown not being displayed

Issue #473 resolved
Strider Agostinelli created an issue

I have a field that takes an enum, but the field does not appear in the inspector. Here is the enum definition:

Screen Shot 2018-12-04 at 2.58.26 PM.png

Here are the attributes I'm using:

Screen Shot 2018-12-04 at 2.58.10 PM.png

Here is what is displayed in the inspector:

Screen Shot 2018-12-04 at 2.59.07 PM.png

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)

  1. Strider Agostinelli 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.

    Screen Shot 2018-12-04 at 3.05.40 PM.png

  2. mSkull001

    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.

  3. Log in to comment