Remove 'non-virtual function' warning for a UFUNCTION that is a BlueprintNativeEvent

In UE4 using the UFUNCTION macro to set a function as  BlueprintNativeEvent generates a separate virtual function that is used.  Rider doesn't recognize this and will warn:
“Non-virtual function 'void ClassName::FunName()' is hidden in derived class 'OtherClass'”

Is there a way to inform Rider of this or to remove the warning for the missing virtual when it is a BlueprintNativeEvent?

1
3 comments

Hello,

Thank you for contacting Rider support.

Unfortunately, I was not able to reproduce the issue. Would you mind sharing additional information as described below, so that I can take a deeper look?

  • Screenshot that demonstrates the issue; 
  • Related code snippets (sample method declaration, definition and usage);
  • Exact engine version;
  • Is engine installed from Epic Games launcher or built from sources?

Thank you and have a nice day!

1

Hi, sorry for the trouble.  I had been missing the original _Implementation function and kept not seeing that.  All works as expected now.

1
Hello,

Thank you for sharing an update. I am happy to hear that the solution was found. 
Should you have any other questions or difficulties in the future, do not hesitate to contact support. 

Have a great day!
0

Please sign in to leave a comment.