Description

Connecting an input of a function in a Blueprint Function Library that has a default value to a node will cause its default value to be reset to 0 when the function is called in another blueprint.

Steps to Reproduce
  1. Open the editor
  2. Create a new blueprint function library
  3. Add two float inputs to NewFunction_0
  4. Give the floats default values
  5. Connect one of the input pins to another node, such as Random Float in Range
  6. Compile & Save
  7. Open the Level Blueprint
  8. Call NewFunction_0

Result: Notice that the input pin that is connected to the Random Float in Range node has had its default value reset, while the other remains at its default value.

Expected: Both inputs would maintain their default values until explicitly changed.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

2
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.144.154.16
Target Fix4.17
Fix Commit3389163
Main Commit3431398
CreatedMar 15, 2017
ResolvedApr 11, 2017
UpdatedJun 11, 2019