Sorry i wasn’t getting notifications for this for some reason . It is def still happening. Answers to your questions:
Currently on 4.8.3 but was happening as early as 4.7.x
here’s code where i’m defining (w/literals changed to make it project generic)
UENUM(BlueprintType) //"BlueprintType" is essential to include
enum class ESomeState : uint8
{
Normal UMETA(DisplayName = "Normal"),
Grabbing UMETA(DisplayName = "Grabbing"),
Kicking UMETA(DisplayName = "Kicking"),
Smash UMETA(DisplayName = "Smash"),
DiveBomb UMETA(DisplayName = "Divebomb"),
Powerup UMETA(DisplayName = "Powerup")
};
this happens when hot reloading changes to anything. The observed problem will be that some blueprint will be noted as failing to compile, and it will be because a place where i’m trying to something like “State” == ESomeState[literal]., for example in an animblueprint state transition rule.
Error will be something like:
Error The current value (GoalPowerup) of the ’ B ’ pin is invalid: Expected a valid unsigned number for a byte property
The underlying problem appears to be that somewhere along the way the blueprint variable (in this case an animblueprint) is no longer being displayed as an enum, it is instead, now a Byte.
just verified again, if i close editor and reload it, this problem goes away w/out any other changes.