I am following the battery collector tutorial series in order to learn how to use unreal engine, and since I have no prior experience I’m having trouble making it compatible with the latest version of unreal engine. In Part 18, we set up a UENUM to keep track of the game state, with the following code :
BatteryCollectorGameMode.h :
//enum to store the current state of gameplay
UENUM(BlueprintType)
enum class EBatteryPlayState
{
EPlaying,
EGameOver,
EWon,
EUnknown
};
Compiling fails with the following error :
Error : Invalid BlueprintType enum base - currently only uint8 supported
How can I fix this ? I have no idea what a UEnum even is and the documentation seems to assume I should, therefore I can’t fix the problem myself.
Thank you for your help