I have created the following UENUM in another header file and I’ve included it in my preferred header file to use it as a UPROPERTY. The problem is that when I place my enum in a namespace, I get Cannot find class '', to resolve delegate 'ENUMTYPE'. As soon as I have it out of the namespace, everything turns out to be fine. What could the problem be here?
namespace CAIAnimations
{
UENUM(BlueprintType)
enum class EMovementBSs : uint8
{
Default = 0,
IdleTurning = 1
};
}
And I use it in another class:
UPROPERTY(EditAnywhere)
CAIAnimations::EMovementBSs SomeName;