x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

alt text

A similar issue like this was reported and the issue tracker says it is fixed but unfortunately I think its not fully fixed. https://issues.unrealengine.com/issue/UE-20613

Product Version: UE 4.12
Tags:
arrayinputbug.png (200.7 kB)
more ▼

asked Aug 07 '16 at 12:10 PM in Bug Reports

avatar image

ryanjon2040
1.6k 56 43 93

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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?

more ▼

answered Aug 08 '16 at 03:48 PM

avatar image ryanjon2040 Aug 11 '16 at 06:11 AM

Hey Adam,

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

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 alt text

Assign Event with Custom Event alt text

assign_event.png (68.3 kB)
manual_event.png (58.7 kB)
avatar image Adam Davis STAFF Aug 11 '16 at 01:09 PM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question