# No value will be returned by reference

**URL:** <https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922>\
**Category:** Editor Scripting\
**Tags:** value, return, reference, unreal-engine, question\
**Created:** [February 23, 2017, 12:02pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922 "2017-02-23T12:02:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_4230003f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Post date:** [February 23, 2017, 12:02pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/1 "2017-02-23T12:02:40Z")

</div>

Hi,

I create an interface function that has array as input and implement it in an UMG. Then call the interface function as event and the following note appears: No value will be returned by reference.

Here is a screenshot.

 ![127446-note.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/b/50bd651a0041d5be19e21b4c1f1b4b2019a8c276.png)

I’ve searched on other forums and I’ve found that a similar problem was already fixed ([Unreal Engine Issues and Bug Tracker (UE-20613)](https://issues.unrealengine.com/issue/UE-20613)).

But now it shows up on interface event calls.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [February 23, 2017, 9:16pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/2 "2017-02-23T21:16:12Z")

</div>

Hi zaksi,

Thank you for the report.

The bug report you referenced was fixed in 4.11 and I just verified that it is still fixed as of 4.15. However, I believe you are right that they are related.

I was able to reproduce the issue you described above with Blueprint Interface functions. So I’ve created [JIRA UE-42333](https://issues.unrealengine.com/issue/UE-42333) and our developers will be investigating further. Follow that link to monitor it’s status.

Cheers,

TJ

---

<div class="post-metadata">

**Author:** ![dimin69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dimin69](https://forums.unrealengine.com/u/dimin69)\
**Post date:** [August 28, 2017, 1:08pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/3 "2017-08-28T13:08:27Z")

</div>

i have the same issue but then with event dispatcher ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a3a170d9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a3a170d9](https://forums.unrealengine.com/u/anonymous_user_a3a170d9)\
**Post date:** [September 26, 2017, 4:24pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/4 "2017-09-26T16:24:20Z")

</div>

This issue still exists in 4.17. It is problematic for us because we treat warnings as errors in our build process

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4230003f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4230003f](https://forums.unrealengine.com/u/anonymous_user_4230003f)\
**Post date:** [September 29, 2017, 7:39am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/5 "2017-09-29T07:39:58Z")

</div>

I can confirm that the issue still persist in UE 4.17

---

<div class="post-metadata">

**Author:** ![Xnar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xnar](https://forums.unrealengine.com/u/Xnar)\
**Post date:** [September 5, 2018, 5:15am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/6 "2018-09-05T05:15:19Z")

</div>

Came across this issue in 4.19 for an array of a specific actor blueprint.

---

<div class="post-metadata">

**Author:** ![Anonymous\_11efb40135fdc2b5e4e6fe6c1e10fb03](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anonymous\_11efb40135fdc2b5e4e6fe6c1e10fb03](https://forums.unrealengine.com/u/Anonymous_11efb40135fdc2b5e4e6fe6c1e10fb03)\
**Post date:** [December 19, 2018, 3:43am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/7 "2018-12-19T03:43:22Z")

</div>

Came across this issue in 4.20 for an array of a specific actor blueprint.

---

<div class="post-metadata">

**Author:** ![Cashper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cashper](https://forums.unrealengine.com/u/Cashper)\
**Post date:** [March 3, 2019, 2:14pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/8 "2019-03-03T14:14:22Z")

</div>

Came across this issue in 4.21 for an array of a specific actor and gamemode blueprint.  
Please fix this ☹ My packaged project, crashes because of this, when using steam ☹

---

<div class="post-metadata">

**Author:** ![Murras](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Murras](https://forums.unrealengine.com/u/Murras)\
**Post date:** [March 6, 2019, 12:05am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/9 "2019-03-06T00:05:28Z")

</div>

Now when i create an array in event dispatcher and try to call/assign it to function i can see the same message on 4.21.2 FIX THIS EPIC PLEASE! ☹

---

<div class="post-metadata">

**Author:** ![jpabalos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jpabalos](https://forums.unrealengine.com/u/jpabalos)\
**Post date:** [April 1, 2019, 4:31pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/10 "2019-04-01T16:31:09Z")

</div>

Can confirm this is still happening in 4.21.2 😕

---

<div class="post-metadata">

**Author:** ![Kael.Hammond](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kael.Hammond](https://forums.unrealengine.com/u/Kael.Hammond)\
**Post date:** [July 19, 2019, 2:00am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/11 "2019-07-19T02:00:03Z")

</div>

This bug is open in Engine Ver 4.22.2 please re-open the JIRA ticket, claimed fix is not correct and this issue is severe.

---

<div class="post-metadata">

**Author:** ![c4augustus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@c4augustus](https://forums.unrealengine.com/u/c4augustus)\
**Post date:** [January 13, 2021, 2:58pm UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/12 "2021-01-13T14:58:26Z")

</div>

This is still a bug in 4.25.4

---

<div class="post-metadata">

**Author:** ![designk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@designk](https://forums.unrealengine.com/u/designk)\
**Post date:** [May 11, 2022, 2:27am UTC](https://forums.unrealengine.com/t/no-value-will-be-returned-by-reference/385922/13 "2022-05-11T02:27:30Z")

</div>

Me the same
