# array get (a copy) is reference actually ??

**URL:** <https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 13, 2025, 12:04pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702 "2025-12-13T12:04:44Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ilozen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Post date:** [December 13, 2025, 12:04pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/1 "2025-12-13T12:04:44Z")

</div>

I’m back to UE after some break. Previously I remember you could use “get (a copy)” or “get (a ref)” nodes when working with arrays to get a copy or reference to an object.

Right now I’m confused. When working with array of ints I can get a ref or a copy and they work as intended.

However, when I have an array of objects I can only use “get (a copy)”. When I try to use “get (a ref)” it gets automatically converted to “get (a copy)”. Moreover, it works like gettting a reference, NOT a copy.

Here’s an example BP of a barrel:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/b/6ebe0a42b28c958b842e2be4781b4364df32e5f5.png)

In it I add self to an array, change an int and print the value from the object in the array. Since I’m working with a copy (supposedly), the value of object in the array should not change. But it does and in fact prints 25, instead of 0.

The get is “get (a copy)” node:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/1/3517119e6ef067bc4ebd0279e585467e1e41bd41.png)

My questions are:

1. why can’t I use “get (a ref)” node?
2. why does “get (a copy)” node modify the original object, as if it was a reference?

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 13, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/2 "2025-12-13T13:37:37Z")

</div>

Right click the get node and you can switch it to get by ref at the bottom

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/c/29c40ef29ce3fabeb431d0c276000fb2ce631c96.png)

---

<div class="post-metadata">

**Author:** ![ilozen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Post date:** [December 13, 2025, 2:17pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/3 "2025-12-13T14:17:44Z")

</div>

Thanks. For me this option is disabled though:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/4/884b45c3a6b494fbc7f507970bb00cab2a835b3f.png)

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [December 13, 2025, 2:36pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/4 "2025-12-13T14:36:10Z")

</div>

I think you are already returning by ref. The option becomes greyed out once you enable return by ref.

---

<div class="post-metadata">

**Author:** ![zeaf](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zeaf/32/1108035_2.png) [@zeaf](https://forums.unrealengine.com/u/zeaf)\
**Post date:** [December 13, 2025, 2:59pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/5 "2025-12-13T14:59:44Z")

</div>

Objects will always be passed around by reference in blueprints

As far as I know there is no way to duplicate an object in blueprints only, you’d have to do that through C++

But it’s not _super_ common to want to duplicate objects, so maybe you should look over your approach once more and see if there is a more conventional way of doing what you want to do

---

<div class="post-metadata">

**Author:** ![ilozen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Post date:** [December 15, 2025, 10:50am UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/6 "2025-12-15T10:50:50Z")

</div>

@3dRaven Yeah I thought so, but the tooltip’s description of the node says it’s a copy (like in my first post).

@Zeaf Thanks. Yeah I don’t need a copy, +1 to what you wrote. But I’m just confused, if it’s a reference then why is the “get (a copy)” node shown by default when you try to place it. If it’s a ref it should be “get (a ref)”…

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 15, 2025, 12:53pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/7 "2025-12-15T12:53:56Z")

</div>

> [@ilozen](#):
>
> Thanks. Yeah I don’t need a copy, +1 to what you wrote. But I’m just confused, if it’s a reference then why is the “get (a copy)” node shown by default when you try to place it. If it’s a ref it should be “get (a ref)”…

It’s one of the engine inconsistencies.

---

<div class="post-metadata">

**Author:** ![JakeMiller5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JakeMiller5](https://forums.unrealengine.com/u/JakeMiller5)\
**Post date:** [December 15, 2025, 12:56pm UTC](https://forums.unrealengine.com/t/array-get-a-copy-is-reference-actually/2684702/8 "2025-12-15T12:56:51Z")

</div>

Looks like Unreal Engine now automatically converts “get (a ref)” to “get (a copy)” for object arrays, but it still behaves like a reference in practice. You might need to adjust your logic accordingly when working with arrays of objects.
