Enumeration list variables slightly broken

Build type: Build from the unreal launcher

Build version: Version 4.16.3

Description: Currently there is a minor bug (in the 4.16.3 version. not sure if it was fixed or not in 4.17) that if you create an enumeration list from the blueprint right click menu, then try to create a enum variable for the list in a blueprint somewhere, it will show the a variable in the format of NameOfList_MAX in the default value. Once you go create a variable in the list you created, you can go change the default value in the blueprint you have a variable for the enum list at to the list variable. But when you change the default value and the NameOfList_MAX name dissappears from the list, that variable will always have that value unless you delete the variable and remake it.

Repo steps

  1. Create Enumeration list
  2. Create Empty blueprint
  3. Create variable of the enumeration list in the empty blueprint
  4. Create list values
  5. Go back to blueprint and change default value of variable to whatever list item.
  6. Try to print string the output of the variable value.

Happens 100% of the time with these steps. I know it was kind of a backwards way of doing things, but I just so happened to come across it when i forgot to make the list items in the enumeration I created. I noticed the strange name and went to go add in my values I needed, and once I did I thought it would work. But it wasn’t doing anything on a switch. So I printed out the value and it never changed from the default. It’s not a very big issue since you can just delete the variable in question after you created the list values and remake it to fix it, but I thought I should mention it anyways.

Hello dragon3582

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: Unreal Engine Issues and Bug Tracker (UE-50630)

Make it a great day