Hi, I’m having this same issue right now. I’ll post some code and screenshots:
I’m defining this enum our StaticLibrary.h
UENUM(BlueprintType)
enum class ECombatState : uint8
{
CS_InCombat UMETA(DisplayName = "Combat"),
CS_FreeCam UMETA(DisplayName = "FreeCam")
};
Then I use it here in a blueprint:
After this I make changes to code in the class which my blueprint inherits from. I just added this float:
UPROPERTY(EditAnywhere,BlueprintReadWrite, Category ="Tunning")
float sensitivity;
Then hit compile in the editor:
Then I go to the blueprint and voila:
Notes: The blueprint I’m using here, inherits from a C++ class that inherits from ACharacter
Edit: I did another test. It looks like this happens when adding or removing UPROPERTY macros. I haven’t tried with other macros yet.