Integer to enum(byte) with strange casting result

Hi,

I do support the “fix in 4.9” movement as this is, in my opinion a critical bug that would refrain most people if not everybody to move to 4.9. (as enums are present a little bit everywhere in engine)

It’s also quite a sneaky bug in my opinion.

I have no idea how does system under hood work. And I would sure love to help fix it. But I have no idea where to find ToByte functions :')

Thanks for workaround though. :slight_smile: