No value will be returned by reference?

I’ve had this Issue a few times in 5.0.3 as well. I have tried a few methods with varying success. Most of my problems with this note come from nodes that are passing an array. Here’s the things I try, and sometimes one of them works.

  1. On the Node Input, change the variable type from array to single, compile, and change it back to array again.
  2. Doing what-C0nn0r said and deleting the var (if not used all over the place) and remaking it.
  3. Using the right click find/replace tool and replacing the var with an identical one just renamed.
  4. And recently, I had this error/note on an Event Dispatcher where I wanted to pass an array of custom structs. The Note still says ,“No value…”, but low and behold I put a print string on the binding function where I am receiving the Dispatcher call, and it’s actually working even though the note persists.

It’s a shame this is still a bug, but if any devs are tracking this, the only thing I can see that is consistent across the board is that the problem arises when we are trying to pass an array. In my case, and it looks like a few others, most often an array of custom stucts. Maybe the ‘pass by ref’ option (which is grayed out and un-selectable with arrays) is the problem.

2 Likes