“Unrecognized type ‘void’ - type must be a UCLASS, USTRUCT or UENUM”
UFUNCTION(BlueprintNativeEvent)
void OnPickedUp(void);
What is problem?
“Unrecognized type ‘void’ - type must be a UCLASS, USTRUCT or UENUM”
UFUNCTION(BlueprintNativeEvent)
void OnPickedUp(void);
What is problem?
Well, when defining functions without input parameters you don’t explicitly use void.
i.e.
UFUNCTION(BlueprintNativeEvent)
void OnPickedUp();
Thank you ![]()