Description

The problem here isn't obvious: the native enum, EAnotherEnum, is missing the Flags flag for the UEnum. As a result, K2Node_GetEnumeratorNameAsString returns the max enum when it gets a combined flag value.

We likely can't fix this issue in UHT, but we should issue either a BP compiler warning or runtime error here.

Steps to Reproduce
  1. Drag Issue5_BP into the level.
  2. Start PIE.
  3. Observe screen prints "E Another Enum Max".
  4. Expected behavior: screen prints "One | Two".

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions5.5
Target Fix5.6
CreatedJan 29, 2025
UpdatedJan 29, 2025
View Jira Issue