Description

If a user creates a struct, uses a Make Struct node, removes a member from the struct, and then adds the value back in the value will not always be correct.

Steps to Reproduce
  1. Create a New Struct
  2. Name it "Test"
  3. Add two members to the struct
  4. Make the two members integer values
  5. Set the default values to -1
  6. Open the level blueprint
  7. Right click > Type Make Test
  8. Notice the values are both negative 1
  9. Open the struct
  10. Remove the second member of the struct and then add it back exactly how it was
  11. Open the level blueprint
  12. Notice that the value for the second member of the struct is now 0 (attached image for reference)

Expected: The second member's value should reflect the correct default value
Result: The Default becomes 0

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.9.2
Target Fix4.17
Fix Commit3413792
Main Commit3431398
CreatedSep 30, 2015
ResolvedApr 28, 2017
UpdatedMay 19, 2017