Giving a property to my class extended from UAnimInstance won’t allow me to compile.
UCLASS(transient, Blueprintable, hideCategories=AnimInstance, BlueprintType)
class MYGAME_API UMyGameCharacterAnimInstance : public UAnimInstance
{
GENERATED_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category=Test)
float Test;
virtual void NativeInitializeAnimation() override;
virtual void NativeUpdateAnimation(float DeltaTimeX) override;
It works if I remove the property flags BlueprintReadWrite and Category=Test, but I need those.
Error: running the .uproject exited with code 5. Please verify that you have sufficient rights.
Edit: fixed, forgot it was in private scope because of class