# Adding a function input deletes all used output connections!

**URL:** <https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [September 29, 2016, 12:54pm UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959 "2016-09-29T12:54:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [September 29, 2016, 12:54pm UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959/1 "2016-09-29T12:54:03Z")

</div>

This is by far the worst 4.13 bug yet because it deleted logic and broke my whole game!

I added the inputs Use Relative Location Instead and Relative Location to that function I then compiled the function which in result deleted all output connection in all the blueprints! In this case the connection to Snapped Location B.  
This is a function library function which I use in a lot of blueprints and now I have to go in and fix them all not to mention that I can’t change any of my many function library functions without breaking all the outputs. Just to give you an idea that this bug should need to get fixed asap.

 ![108940-deletedlink.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/2/b82783ae5d733feacfa43fdce500814977f278b1.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 29, 2016, 2:41pm UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959/2 "2016-09-29T14:41:59Z")

</div>

Hi ,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- What steps can I take to reproduce this on my end?
- Is the function a custom function or is it a function that you have edited via source/c++?
- Was this function from 4.12 and only occurred in 4.13 or was this all made in 4.13?
- What functionality broke when you added the input?

---

<div class="post-metadata">

**Author:** ![Davision](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davision](https://forums.unrealengine.com/u/Davision)\
**Post date:** [September 30, 2016, 11:26am UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959/3 "2016-09-30T11:26:12Z")

</div>

I gave it a try in a new clean project and did not happen there. It is a blueprint function I made in a blueprint function library. I forgot that I also added a local variable as the bug happened. That is a function that was already in it when I worked on it in 4.12, it was also already there when I worked on it in 4.11. As mentioned before what broke is all the output connections in all the blueprints where that function is used. In the case of the screenshot UE4 deleted the connection from the output Snapped Location to the variable Snapped Location B. Well, I certainly will not do any more library functions til I know connections will not just disappear anymore.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [September 30, 2016, 1:57pm UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959/4 "2016-09-30T13:57:20Z")

</div>

Do you have any steps I can take to recreate this on my end?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [October 4, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/adding-a-function-input-deletes-all-used-output-connections/371959/5 "2016-10-04T13:28:38Z")

</div>

Hi ,

We have not heard from you in several days. I am marking this as answered for tracking purposes, if you are still experiencing this error, please comment with the requested information.
