what's the purpose of TEnumAsByte?

in most circumstances, u can use TEnumAsByte and Enum as one type. but when u are trying to pass some Array or TemplateType to functions, u can not.

since enum is some kind of byte type, explicitly cast it to Byte is redundent, and it cause some more inconvenient.

anyone has more information? thanks very much.

Enums are just fancy bytes.

There is one thing about them: enums are enums only for compiler , in runtime they are just bytes. An Unreal due to heavy macros and unreal way complicates it all.

And yes enums are quite inconvenient.