Difference between get (a ref) and get (a copy)

That’s about right, and what we’d expect, from the name and tooltip, but I’ve read Get a Copy only makes a copy for reading primitives (float, int, bool, etc.), but not so for objects.

Blueprints stores objects in arrays by pointer - like, an array of BP_BigHeavyObject will actually have pointers to those objects - and Blueprints will only get you the dereferenced pointers, so any changes made will be to what was pointed at, that is, the original object.

So - if you use Get a Ref for an object in an array, Blueprints will change this to Get a Copy (with a misleading tooltip), but you are actually accessing the original object, not a copy.

5 Likes