UserDefinedEnum variables in UserDefinedStructs aren't properly updated when the enumerations are reordered. FEnumEditorUtils::BroadcastChanges fixes up Blueprints but not UserDefinedStructs. 

Steps to Reproduce
  • Create a UserDefinedEnum (MyEnum) and add a few enumerations {Zero, One, Two}
  • Create a UserDefinedStruct (MyStruct) and add a variable of type MyEnum
  • Set a default value for the MyEnum variable to Zero
  • Reorder the enumerations by moving "Two" up to be the first entry in MyEnum
  • Notice that the default value in MyStruct changes from "Zero" to "Two"

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-87992 in the post.

Login to Vote

ComponentUE - Gameplay
Affects Versions4.24
Target Fix4.26
Fix Commit12202845
CreatedFeb 4, 2020
ResolvedMar 16, 2020
UpdatedMay 17, 2021