Download

[4.26] C++ exposed USTRUCT not editable in Blueprint

I try to use the following struct

USTRUCT( BlueprintType )
struct FInputActionKeyMapping

It has an name property in it-

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Input")
FName ActionName;

I’ve added the sruct exposed to my class

UPROPERTY(EditAnywhere, BlueprintReadWrite )
FInputActionKeyMapping test;

But this name can’t be edited in BP, allthough its Editanywhere. The other properties are available.
Why is that the case?

Are you wanting to edit them directly in the editor and property configuration, or within the event graph of the blueprint?

Thank you for your answer. I try to edit it in the editor but the name is simply missing. It seems to be a bug.

I did a test in a project I have, and it worked fine. One thing to be aware of when working in the event graph is the MakeXXX node for creating structures and also right click on struct variable pin “split struct pin”. Also, make sure to restart editor. Possibly, un-parent class and then reparent it again, if it’s bugged out.