Search Issue Tracker

Duplicate

Votes

0

Found in

4.0.0f5

Issue ID

498635

Regression

No

Nested enums in a class show as int field in inspector instead of enum popup.

Inspector Functionality

-

This also breaks custom PropertyDrawers for that type!!

To reproduce:
- Load the test scene and select the Main Camera.
- Expand the Action Component.
- Note that nested Action Type fields are shown as integers instead of enums.

If you make a PropertyDrawer for the Action class, it will break when you expand the Action Component, spamming all sorts of errors.

  1. This is a duplicate of issue #591444

    Enum properties in serialized structs show up as integers

Add comment

Log in to post comment