Select on enum byte index does not work when one is hidden

select node in blueprints with an enum as index that has a hidden enum value results in selecting the wrong index.

repro:

  1. create a C++ enum with the first enum value (Invalid for example) being Hidden and create two other enum values.
  2. try to do a select on a string for example and notice that if you should select the 2nd enum value it does select the 3rd…enu

Hi ,

I’ve reproduced the issue you’ve reported and entered a bug report into our system for it. For your reference, the bug number is UE-16134. As a workaround for the time being, this should work without an issue if you make any hidden variables to be the last variables in your enumerators.

Have a nice day,