# Blueprint Function Library Bug: Connecting function inputs resets default input values

**URL:** <https://forums.unrealengine.com/t/blueprint-function-library-bug-connecting-function-inputs-resets-default-input-values/387976>\
**Category:** Blueprint\
**Tags:** default, bug, function-library, unreal-engine, question, Blueprint\
**Created:** [March 15, 2017, 11:01am UTC](https://forums.unrealengine.com/t/blueprint-function-library-bug-connecting-function-inputs-resets-default-input-values/387976 "2017-03-15T11:01:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![polygon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@polygon](https://forums.unrealengine.com/u/polygon)\
**Post date:** [March 15, 2017, 11:01am UTC](https://forums.unrealengine.com/t/blueprint-function-library-bug-connecting-function-inputs-resets-default-input-values/387976/1 "2017-03-15T11:01:12Z")

</div>

Hi,

I noticed following issue:

1. Create a Blueprint Function Library
2. Add a new function to that library (in my example “MyFunction”)
3. Create 2 inputs for that function (in my example 2 floats; one named “FloatWithDefault” and the other “FloatWhithDefaultConnected”)
4. Setup Default values for both inputs (in my example 1)
5. Connect the input of “FloatWithDefaultConnected” to another node that has a float input (in my example “RandomFloatInRange” but it doesn’t matter which one you choose). Leave “FloatWithDefault” unconnected.
6. Compile and save the function library
7. Open another Blueprint (like the Level Blueprint) and call your function from the library
8. You will notice that the default value of the “FloatWithDefault” is still 1 while “FloatWithDefaultConnected” has turned to 0

Expected behavior: Both default values should keep their default settings.

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [March 15, 2017, 2:07pm UTC](https://forums.unrealengine.com/t/blueprint-function-library-bug-connecting-function-inputs-resets-default-input-values/387976/2 "2017-03-15T14:07:14Z")

</div>

Hey polygon,

I have reproduced your issue and have entered a bug report which you can track using the link below:

> **[The Unreal Engine Issues and Bug Tracker](https://issues.unrealengine.com/issue/UE-42922)**
>
> Welcome to the Unreal Engine Issue and Bug Tracker. You can check the status of an issue and search for existing bugs. See latest bug fixes too.

Have a great day
