Description

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:

https://answers.unrealengine.com/questions/190159/struct-default-values-get-reset-after-closing-proj.html#answer-191326

Steps to Reproduce

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

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 19, 2015
ResolvedJul 11, 2016
UpdatedJul 14, 2021