Using Arrays in Blueprint Interface Input: Compiler says "No value will be returned by reference. Parameter 'NewParam'. Node: "

Exact steps to reproduce:

Blank new project.

Create Blueprint Interface and assign it an Input variable pin of type “Material Interface - Object Reference” (it’s possible this happens to other stuff too)

Then create a Blueprint Actor Component that uses the Interface and calls it’s message while inputting own variable pin of type “Material Interface - Object Reference” into the Interface Message node.

Compile.

Compiler says "No value will be returned by reference. Parameter ‘NewParam’. Node: "

Thankfully it seems that TMap works so I might look into using that.

Hi Alphisto,

I’ve followed your repro steps in UE 4.17 but unfortunately I was not able to get the "No value will be returned by reference. Parameter ‘NewParam’. Node: " message when compiling. The compile was successful when I tried it.

Would you mind providing us with a small test project so that we can investigate the issue further?

Hi could you just try with Blueprint Actor Component first?

Hi,

I tried with Blueprint Actor Component and it is still compiling successfully.

Here is the project.

link text

Have you copy/ pasted any nodes in your blueprint setup? Also, have you copy/pasted from the original project to this test project?

Also, are you using 4.17.1-3586342 binary build? You can see the version by clicking Help> About.

No all was done anew. I have UE 4.17.1-3586342+++UE4+Release-4.17. So yeah that build.

Hi Alphisto,

I was able to reproduce the bug and I’ve logged JIRA UE-49501

Our developers will be investigating the issue further. Please follow that link to monitor the status of the report.