Input indexing bug when removing the input from Custom Node (shaders)

Greetings.

There is issue when removing the input from Custom Expression Node in Material Editor.

Seems like when the input removed the connection points are not reindexed. So connected ‘wires’ stay on their places. That causing disconnection of the last wire as well as shift for every node that followed the one being removed.

A. 1
B. 2
C. 3
D. 4
E. 5

Removing B:

A. 1
C. 2
D. 3
E. 4

Should be:

A. 1
C. 3
D. 4
E. 5

Here’s GIF:

250766-remove-input-on-custom-node3.gif

Also. You should notice that error message disappears. And preview showing proper result (meaning that in the compiled HLSL connections are rearranged, and this is purely GUI bug).

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Update:

This one is a minor bug, but hell of irritating one.