Enum to Byte conversion returns 2 for the first enum then 4 then 6 and so on rather than 0, 1, 2, etc.
This is a regression; does NOT occur in 4.8.3. Reproduced in 4.9.0 binary and Main (2675088)
1. Open any project
2. Create a new Enum
3. Add 3 new Enumerators
4. Create a new Actor Blueprint
5. Event Begin Play > Print String
6. Get the Literal Enum node for the new Enum
7. Off the return value, ToInt(byte) > ToString(int) > Print String
[Image Removed]
8. Drag the Actor BP into the level
9. PIE
Result:
The Enum to Byte conversion returns 2, rather than 0, for the first enumerator. Other enumerators from the list also return incorrectly; rather than 0, 1, 2, you'll get 2, 4, 6.
Expected;
Print: 0
Head over to the existing Questions & Answers thread and let us know what's up.
1 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.9, 4.10 |
Target Fix | 4.9.1 |
Created | Sep 1, 2015 |
---|---|
Resolved | Sep 2, 2015 |
Updated | Apr 27, 2018 |