ForEach 'Enum' node returns incorrect enum values

User Description:

The For Each loop and Byte To Enum function return weird things.

The same outputs happen with the Byte To Enum, depending on what byte you put in.

Enums that already exist in the engine seem to be fine.

Steps to Reproduce

1. Open a new 4.9 blank project
2. Create an Enum & open it
3. Add 5 values to the Enum with recognizable names (see screenshot #1)
4. Create a new actor class bp & open it
5. Create the bp from screenshot #2
6. Compile & save
7. Back in the editor, add the bp to the level
8. PIE

Results: The enum will only print some of the correct values (see screenshot #3)

Expected: For the bp to print all of the values of the enum

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Gameplay - Blueprint
Affects Versions4.9
Target Fix4.9.1
Fix Commit2672315
Release Commit2680488
CreatedAug 21, 2015
ResolvedAug 28, 2015
UpdatedApr 27, 2018