[4.8] GENERATED_BODY() .. UFUNCTION(BlueprintNativeEvent) .. syntax error

4.8.0 Master branch.

Brand new generated project.


  • Declaring a UFUNCTION(BlueprintNativeEvent) after GENERATED_BODY() will cause syntax errors.
  • BlueprintImplementableEvent working with GENERATED_BODY().
  • BlueprintNativeEvent working with GENERATED_UCLASS_BODY().

p.s.: Is there better place to report master branch bugs? Seems like GitHub’s tracker shut off.
And it’s really strange no one yet faced this error.

Seems like I’m not really aware how to write proper code for UE yet.
Adding a declaration of _Implementation(); solved the problem.

	UFUNCTION(BlueprintNativeEvent, Category = Pickup)
		void OnPickedUp();
		virtual void OnPickedUp_Implementation();

Hi S-ed,

With 4.7 you need to declare the _Implementation and _Validate functions yourself. I’m curious though, what syntax errors did it report in your case?