"Set Array Elam" isn`t work at struct array

Hello~Everyone

I can`t change data of array. “Set members in…” isn’t work, too.

This link work, but I can`t.

Help me please.

38937-2.jpg

38937-2.jpg

I have same problem.

Hi ALangHung & KONADEV,

This is an underlining issue that has to do with Struct ‘Arrays’. We have it logged as JIRA UE-6451 in our tracking software and our developers are investigating it. I’ll update report to let them know more users are affected.

You can also see this issue with the ‘Set Members in Struct’ node.

A possible workaround: Everything seems to work correctly if struct variable is not set to be an array.

Cheers,

TJ

OK,Thx you.^^

Can you tell me how to work for you(this link)?

I fell confused.

Yeah, I posted that back in version 4.6.1 of editor. This bug was thought to be fixed but it was re-introduced again in 4.7.

Which version are you using?

I use 4.7.4.
I hope fix bug as soon.
Thx you response.
Have a great day.

Oh,btw, “Set members in…” is work at array?
Like this image.

39087-5.jpg

As long as struct variable you are getting from is a standard var and not an array, it should work fine. issue for me happens with not only the ‘Set Array Elem’ but also the ‘Set Members in’ node.

This is still not working in 4.8 Preview 2.

Hi Onoa,

JIRA report has moved up in priority but it is still being investigated. We will post here with updates when that status changes.

Cheers,

TJ

I ran into same issue. Please fix it as soon as possible! Thank you! :slight_smile:

Any updates on this? There are a ton of use cases for this and it’s kind of crippling that it doesn’t work.

No update yet. TJ is out for a bit, so I’ve started watching this bug report and I’ll post here if there’s any change.

Same here. I can’t set a value in array of Integers. I have array of structures, then i get one structure from it, break it, and try to Add elements to this Integer array. All elements (integer values) are added as 0, no matter what. Same goes for String arrays, they all set to blank fields.

Hey i just thought i’d add that this bug appears to still exist in 4.9. Will test further with a fresh project and then report back. (in clarification I have an array of structs with a single array in each, essentially faking a 2d array, however array is not being set) As i said i’ll test some more

Hey, we probably have same problem then. I’ve reported it with repro steps & demo project HERE.

Any updates? I’ve tried 4.10 test and it’s still not working. Really hoping this fix will be in by release version of 4.10.

Hi Xylo,

We plan to make significant improvements to struct arrays, however many of them, including this issue, isn’t planned to be included in 4.10. fix is quite complicated and it is still being investigated by our developers.

We will post back here with updates as we have them.

I am having same issue, this was seen as far back as 4.4, how are structs arrays still broken so much? Hindering any serious development :frowning:

I’ve found a workaround for this. solution is a bit awkward, but it should do trick for people like me who have desperate need of nested arrays. way you do this is to set a temporary variable to your struct array, modify this temporary array and then set this value back into larger array. Here is how to do it for Set Array Element, though same principle applies for manipulating array in other ways. I hope someone will find this helpful until Epic finds an official solution:

Still having this prob in 4.11 prev 3, but this workaround works for now!