BlueprintImplementableEvent can not compile successfully

I wanna realize the function BPEvent_DataReceived in blueprint,so I used the meta BlueprintImplementableEvent.
However,it causes some problems.
How can I fix this?

If you look at your error messages carefully (C2511) you’ll notice the type of the argument ReceivedData does not match with the generated implementation. I think all you need to do is change the type from “FString” to “const FString &” to make it match. Whether this is a bug or a feature of UnrealHeaderTool I do not know.

2 Likes