Removing output from interface function

Steps:

  1. Create an interface with a function

  2. List item. Add an output to that function

  3. Add that interface to a blueprint

  4. Remove the output from the interface’s function

  5. A bug occurs which prevents compiling

I’ve been able to fix it by removing the interface from blueprints that use it, then deleting all bugged functions within the interface, recreating them and then adding the interface again.

Hello Fistoflove,

This issue already exists in our system as UE-13335. Thank you for your report, and for posting your workaround.

Have a great day,

Sean Flint

Still encountering this (version 4.10.2) - just for renaming an output variable inside a blueprint interface function.

Given that readding the interface (breaking everything which uses it) seems to be the only solution, my current recommendation is that for whatever functionality you are using the blueprint interface, contain it all within a separate function, so that the process of readding is simply connecting up the pins between the function and the interface in each blueprint using it (which is still a massive amount of work).

Outside of that, either lock down every variable and every variable’s name in advance of using the function, or avoid using blueprint interfaces entirely.

Restarting the editor seems to fix being unable to readd a previously removed BPI.

This issue has been marked as fixed for 4.11. Give it a shot in the 4.11 Preview, as it should be resolved in that version.

5.3.2 here -can’t remove the return node, even if i’m removing all the outputs

9 years on…still a bug.

Solution is to right click on the function on the list on the left and then choose ‘convert to event’ that will get rid of the junk old function that doesn’t return anything anymore

1 Like