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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Array Add Blueprint Function fails while Single-Element Make-Array + Append works as expected

Is the Blueprint "Array -> Add" function working in mysterious ways for anyone else ? I was trying to add a single Object to an Array, but after testing that array, it reports having added "None".

Making a single-element array using "Make Array" and then using the "Array -> Append" function ends up working as i would expect though.

Product Version: Not Selected
Tags:
more ▼

asked Apr 14 '14 at 08:07 PM in Bug Reports

avatar image

rebb
13 4 5 10

avatar image Adam Davis STAFF Apr 17 '14 at 01:38 PM

Hi rebb,

I have thus far been unable to reproduce this effect. Have you had this issue on a clean project with no additional content? Thank you!

avatar image rebb Apr 17 '14 at 04:51 PM

Hello, thanks for looking over this :).

Here's the smallest test-case blueprint i could make that shows it. It's very possible that this is just me being silly and not understanding certain concepts of BPs properly though.

I made this in a newly created BP FirstPerson Project. This is the only "code" inside the BP. I then place the BP into the scene and start in viewport.

If the "Add" path is enabled, it prints out "None". If the "Append" path is enabled, it prints out the instance-name of the BP.

Edit : This is not the exact same setup i was using when encountering this, normally the target-object-array is somewhere else, not inside the same BP. The outcome is the same though.

Edit2 : "Stuff" is an Array of Actor Objects, "SelfAdd" is a BP based on Actor.

alt text

capture-2.jpg (74.7 kB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi rebb,

I was able to reproduce this effect and have attached this report along with my findings to a report to be assessed. Thank you for bringing this to our attention!

more ▼

answered Apr 18 '14 at 09:13 PM

(comments are locked)
10|2000 characters needed characters left
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