Passing arrays by reference in blueprints

There is an option to pass an array by reference when you make one a function parameter, however altering the array at the source does not seem to alter it at the target.

by this i mean - Imagine you have a blueprint like the game mode with an array in it, and you have a function to send that array to a different blueprint. I would assume that marking the array to be passed by reference would mean that you could edit it in the game mode blueprint and it would update (so to speak) in the other blueprint. however, it doesn’t seem to.

so what does this pass-by-reference checkbox do? is it just not valid for arrays?

thanks!

Unfortunately this was happening with me as well. I was trying to do an algorithm and I wanted to use pass-by-reference to update the array recursively but it didn’t seem to be do anything. I hope its just something I’m missing because that is really needed.

Are you actually editing the array, or just editing the values you pass from the array. I only ask because you will need to make sure you Set Array Element, or append, insert etc. Generally, what I do, is just make a function that takes an array reference, do my calcs, and pass the value back to set it. But that is just me, and it works very reliably.

I’m adding and removing elements from / to it. so it is supposed to work how I think?