[Bug?] Can't return a struct reference from BlueprintCallable function.

Digging out old topic, but for future readers - to add a reference add UPARAM(ref) macro:


UPARAM(ref) FEntityAttribute& GetTargetAttribute() { return targetAttribute; }

7 Likes