The default values of a Struct variable in a Blueprint will return to the default values of the Struct on compile when all values are set to 0.
Possibly related to [Link Removed]
Tested in 4.6.1 and Main (CL-2408355).
Another AnswerHub user with similar issue:
1. Open any project
2. Create a new Structure
3. Create 3 Float variables
4. Set each variable value to 20.0
5. Create a new Actor Blueprint
6. Create a new variable of the new Struct's type
7. Compile
8. Set the default values of the struct variable to 0s
9. Compile
Results:
The default values of the BP variable return to the default Struct values
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.6.1, 4.8 |
Created | Jan 19, 2015 |
---|---|
Resolved | Jul 11, 2016 |
Updated | Jul 14, 2021 |