Description

Values changed to an inherited Struct variable in a Child Blueprint will be kept after compile, but any not changed will be set to 0s.

Steps to Reproduce

1. Open any project
2. Create a new Structure
3. Create 3 Float variables in the Struct
4. Create a new Actor Blueprint
5. Create a new variable with a type of the new Struct
6. Give the 3 variables a default value in the new Struct variable
7. Create a new Child of the BP
8. Enable Show Inherited Variables
9. Select the Struct variable
10. Change 1 of the default values
11. Compile

Result:
The Struct variable will update only the changed value correctly, but all others values will be set to 0s.

Have Comments or More Details?

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

0
Login to Vote

Cannot Reproduce
ComponentUE - Gameplay - Blueprint
Affects Versions4.6.14.8
CreatedJan 12, 2015
ResolvedJul 11, 2016
UpdatedJul 14, 2021
View Jira Issue