Unable to create Event Dispatcher with array input

Hi there,

I am trying to create an Event Dispatcher with Blueprint Session Result (as array) input but I get a note on the dispatcher node saying No value will be returned by reference

A similar issue like this was reported and the issue tracker says it is fixed but unfortunately I think its not fully fixed.

Hi ryanjon2040,

This is not a bug per se. This note is saying that the array cannot be passed by reference through an event dispatcher. Thus, there is going to be no return of information to the array, it can only pass information outwards to the receiving blueprints. This is because Event Dispatchers are inherently designed to pass information outward to receiving blueprints from the sender, but do not accept or request return information. I tested this on my end and I see the same note, but the array is passed outward as expected.

Are you seeing a situation in which the array is never passed to the receiving blueprints? If so, what type of array are you currently using?

Hey ,

I tried it out and the array is actually passed so yay :slight_smile:

Another thing I’d like to mention is if I try to assign a dispatcher the event that was automatically created will have that note. But if I manually create a Custom Event with the same array input the note disappears.

Assign Event

Assign Event with Custom Event

What does the note say in the output log? If you compile does it remain or does it disappear?