-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR #180 Gives Compile Error in UE4 #183
Comments
Hi! Thanks! |
Hopefully there aren't too many more issues with differences b/w UE4 and UE5 that can't be easily accounted for, like in preprocessor directives, but you might want to add a note to the README saying the master branch is maintained for UE4, and if the need arises, then perhaps you can make a UE5 branch. Just a thought. |
@tsender Good point! I've added a remark to the README.md |
See my comment at the bottom of the PR page: #180
Essentially, the added BP feature uses type 'double', but only UE5 supports type 'double' in blueprints, UE4 does not. Attempting to place the appropriate code in a preprocessor directive to check if the engine version is 4 or 5 does not work, as UE does not support this with UFUNCTIONS (darn).
The only options are to remove the
void OnFloat64Message(const double& Data)
function added in RI/Topic.h and its corresponding cpp code. OR to create a separate branch for UE5.This is not my repo, so I'm not sure how you want to proceed @Sanic (but my preference is to remove the code, but that's because I much prefer cpp over blueprints).
The text was updated successfully, but these errors were encountered: