# \[4.7\] - Defaults are zeroed out upon BP Construction

**URL:** <https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [February 26, 2015, 2:24am UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152 "2015-02-26T02:24:32Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Sandstrike](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sandstrike](https://forums.unrealengine.com/u/Sandstrike)\
**Post date:** [March 11, 2015, 6:44am UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/21 "2015-03-11T06:44:34Z")

</div>

following probably relates to answer but just in case:

I found that default values for skeletal mesh, animation blueprint etc of child actors also get set to none when launching a standalone (this doesn’t happen in PIE). Can anyone else confirm this?

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [March 11, 2015, 1:01pm UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/22 "2015-03-11T13:01:09Z")

</div>

Yes, my anim blueprint (and skeletal mesh settings like position/rotation in some cases) was resetting after playing in Standalone or packaging game - [HERE](https://answers.unrealengine.com/questions/158355/no-animation-caused-by-a-simple-setup-demo-project.html) is bug report, and as they say, it should be already fixed in 4.7 (Middleton managed to fix it), but i didn’t checked it yet…

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [March 11, 2015, 5:15pm UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/23 "2015-03-11T17:15:56Z")

</div>

, I am using 4.7 branch from yesterday and issue is not fixed there. If I set a default value for a struct, save blueprint, close project, open project, open blueprint, all variables in struct are set back to parents defaults.

---

<div class="post-metadata">

**Author:** ![MC\_Stryker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MC\_Stryker](https://forums.unrealengine.com/u/MC_Stryker)\
**Post date:** [March 18, 2015, 1:26am UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/24 "2015-03-18T01:26:29Z")

</div>

Hey … this now seems fixed for me however, post above from CodeSpartan relating to Enumerations being broke is now an issue for me but it’s not as bad as it sounds thankfully. I checked and all enumerations are intact and correct and when you run in editor, any enumerations converted to text to be displayed are fine. However, when you run in game as Standalone as it’s own process, it doesn’t properly list them and all come out as default: NewEnumerator0… NewEnumerator1… etc. I also filled Eric K. on another thread who is lending a hand. Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [March 18, 2015, 1:28am UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/25 "2015-03-18T01:28:07Z")

</div>

Hi MC Stryker,

Glad this problem is fixed for you now! If there isn’t one already, would you mind opening a new post for Standalone enum problem? Thanks!

---

<div class="post-metadata">

**Author:** ![MC\_Stryker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MC\_Stryker](https://forums.unrealengine.com/u/MC_Stryker)\
**Post date:** [March 18, 2015, 1:31am UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/26 "2015-03-18T01:31:16Z")

</div>

Absolutely, hope you and team are having a great day!

---

<div class="post-metadata">

**Author:** ![DashWaLLker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DashWaLLker](https://forums.unrealengine.com/u/DashWaLLker)\
**Post date:** [October 10, 2020, 1:14pm UTC](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152/27 "2020-10-10T13:14:25Z")

</div>

Thanks a lot for your answer! default variable changing to 0 was driving me nuts. All because of that yellow reset icon. I wonder, why does that happen instead of using parent BP’s setting by default…

[Previous page](https://forums.unrealengine.com/t/4-7-defaults-are-zeroed-out-upon-bp-construction/308152.md?page=1)
