[Bug] Increment node does not set when using Select node

Hello!
Found a little bug, thought I’d drop it here.

It appears a Select node will not set an Increment node (always returns 0.)

Here’s a screenshot of the setup that does NOT work. (Had to use a branch instead)

128530-ue4editor_2017-03-02_19-22-24.png

Hi Zaggoth,

the select node returns a copy of whatever you give as input pins, so when incrementing the output afterward you’re modifying the copied version of your variable not the variable itself that’s why it doesn’t work.

This may be a feature request for Epic but it does not look like a bug for me.

Regards,

Hmm, I see. If I understand correctly, Select nodes first copy the variable and then uses that? So you aren’t getting a direct reference to the real variable?

It’s just some unexpected behavior, but I understand why it’s happening now.