Cannot add struct to array

I’m creating a structure and trying to add it to an array, but it is not added (the last index is -1). What am I doing wrong?


I found my bug, the array was created in another blueprint and I was possibly referring it the wrong way. Once I created it in this blueprint, it worked.