Error on binding OnPerceptionUpdated delegate in blueprints

AFAIK TArray needs to be constant reference and then it would be possible to use delegate in blueprints.
This is current code :slight_smile:

DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FPerceptionUpdatedDelegate, TArray, UpdatedActors);

Found issue after stumbling upon this post

Hello ,

Thank you for reporting this issue. I see the same error that the other user pointed out and I see that you’ve pointed out exactly what needs to be changed to fix this. I can enter a bug for this if you wish or, since you know what needs to be changed to fix this, you can feel free to submit a Pull Request on Github. If you’ve never done this before, you can follow this guide to do so. If you’d rather I just enter a bug report, please let me know.

Well, I’m not sure if I’ll find time to create a pull request.
Also it would be great to enter a bug report for tracking purposes.

The pull request would get its own JIRA ticket so the tracking is not an issue, but I’ll enter a bug report myself and update here.

Hello,

I apologize for the delay but I’ve entered the bug report for this issue. You can find the report here: UE-53576.

Have a nice day!