No value will be returned by reference
While binding event to delegate broadcast call happening in code, I get the following error:
I think it has to do with the fact I'm returning an array, (saw fixed bugs talking about a NOTE message - not an error) FoundSessions struct:
The delegate declaration
The binding inside my class (under public:)
The broadcast: (from inside one of the .cpp function)
What have i done wrong? Thanks
---edit--- Done some more checking - this is happening with every TArray I try to broadcast, not just my struct. Is that a bug or am I using it wrong?
I've solved this by using a wrapper to wrap the array, it looks like a bug.
Marking it as solved, yet, no real reason has been given.
answered Dec 13 '18 at 11:48 AM
Are you dragging off the "Event" pin from your "OnFindSessionDone" event and typing "Custom event" to create your custom event with matching signature?
answered Sep 24 '18 at 08:55 AM
Declare the delegate like this:
answered May 23 '19 at 08:54 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here