Unknown function specifier 'DeprecatedFunction'?

error : In MyComponent: Unknown function specifier ‘DeprecatedFunction’

UFUNCTION(BlueprintCallable, BlueprintPure, DeprecatedFunction, Category = "MyThing")
TArray<UMyThing*> MyFunction();

So whats the problem with this?

Thats metadata flags, so you need to do this in meta specifier:

UFUNCTION(BlueprintCallable, BlueprintPure, meta=(DeprecatedFunction), Category = "MyThing")
TArray<UMyThing*> MyFunction();

Thanks :slight_smile: