Hello everyone. I’ve been stuck on this for several hours or even several days. I’ve done a lot of research but everything I try doesn’t work.
To resume I want to add elements in an array contained in a structure but when I check the length afterwards it always remains at zero. Can you give me the solution? Thank you
Hello, in blueprints, you can not modify a map’s value as the changes will not propagate back to the value in the map. You will need to make changes to the value, then add the value back to the map with the same key so that it overwrites the previous key-value data. So, make a copy of the value structure, add what you need to that array there, then add the new copied structure with changes back to the map using the same key (which will overwrite the old value with your new modified value).
Thank you very much, it works!