I wouldn’t normally file this in bug reports, but I’ve read all the documentation and other questions, and I’m almost sure at this point that I’ve set things correctly. I am trying to make some simple structs that I can access in blueprints. I have two structs, both of which are defined in the same header file as some other UCLASS (inheriting from UObject).
The structs are:
USTRUCT(BlueprintType)
struct FAttribute
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite)
uint32 level;
};
USTRUCT(BlueprintType)
struct FSkill
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite)
uint32 level;
UPROPERTY(EditAnywhere, BlueprintReadWrite)
uint32 ip;
};
I am able to create blueprint variables of type Attribute and Skill, however, I cannot access the level or ip ints from them. From what I’ve read, there should be an auto-generated “break” function I can use, but this does not seem to get created. It does not appear as an option, even if “context sensitive” is unchecked. Could this be a bug? Am I just doing something wrong?