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"

crash while looping interface arrays

I have a blueprint which implements an interface that returns descriptive information; I created a function "Add Items" which gets an array of blueprints implementing the interface which i tried to pass along to a loop.

At this point the editor always crashes reaching the loop. I tried switching the loop to use the typed array of blueprints instead which works fine. Also passing the loop element to the Loop Body SetItem as interface works as expected.

Also, maybe the crash happens already when I pass the blueprint array to the AddItems function; I'm new to unreal and the debugger with multiple clients can get me confused.

I am using the 4.7 preview 7 with a blueprint project.

alt text

Product Version: Not Selected
Tags:
loopbug.png (156.2 kB)
more ▼

asked Feb 13 '15 at 09:53 PM in Bug Reports

avatar image

cppanda
21 4 3

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

1 answer: sort voted first

i think I am abusing the the blueprints here by passing in an array of interfaces, since they apparently do not get treated like object references, but the resulting crash is still unexpected

more ▼

answered Feb 15 '15 at 04:12 PM

avatar image

cppanda
21 4 3

avatar image TJ V ♦♦ STAFF Feb 19 '15 at 04:59 PM

Hi cppanda,

The editor crashing is not ideal by any means but you are correct, interfaces should not be used in this way. Your second screenshot is the proper way to pull from an interface.

(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