Trying to build my plugin on UE 5.2 but the error cannot be referenced -- it is a deleted function is showing up

This is because in 5.2 constructor from uint16 to uint8 declared as deleted and your program dont know how to convert it. U have to use variable (FKey in this example) with type uint16 or uint32 and it will work