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.

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

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.