Description

The default value of a child struct that is added to anther struct is not retained in the parent. An example would be if the child struct contains an integer, the default value when added to another struct will always be 0 regardless of the settings within the child struct.

Steps to Reproduce
  1. Open the editor
  2. Create a new structure
  3. Name the struct Parent
  4. Create a new structure
  5. Name the struct Child
  6. Open "Child" set the 1st and only member to an integer
  7. Set the integer in Child to -1
  8. Save
  9. Open parent
  10. Add two members
  11. Set the first member to an integer and make it -1
  12. Set the second member to the struct named "Child"

Result: The default value for the Child struct will be 0 instead of -1
Expected: The default value for the struct named child would be -1 when adding it as a member to the struct named "Parent"

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 Editor
Affects Versions4.16.34.17.1
Target Fix4.19
Fix Commit3788496
Main Commit3804136
Release Commit3813083
CreatedSep 18, 2017
ResolvedDec 5, 2017
UpdatedApr 27, 2018