Description

For a child instance inside of the level, the value of a parent int variable will reset if you add a new variable in the child and if there is a function in the parent that has the child as an output.

Regression:
This issue occurs in 4.13, 4.14, and the 4.15 binary builds

Steps to Reproduce
  1. Create a new project (No template or starter content needed)
  2. Create a new Actor class blueprint > Name it "Parent" > Open Parent
  3. Add an Int Variable in Parent > Make it editable and exposed on spawn > Compile and save
  4. Create a child based on Parent > Name it "Child" > Open Child
  5. Add an Int Variable in Child > Make it editable and exposed on spawn > Compile and save
  6. Add an instance of Child into the level > set the value of the child Int to 20 > set the value of the parent Int to 10 (Screenshot 1)
  7. Create a new function in parent > add a new output whose type is Child > Compile and save (Screenshot 2)
  8. In Child add a new variable

Result: The value of Parent Int resets for the Child in the level
Expected Result: The value of Parent Int stays the same for the Child in the level

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

3
Login to Vote

Cannot Reproduce
ComponentGameplay - Blueprint
Affects Versions4.13.24.14.34.15.1
Target Fix4.19
CreatedApr 24, 2017
ResolvedJan 8, 2018
UpdatedJan 9, 2018