# Promoting variable from delaynode gives corrupt variable

**URL:** <https://forums.unrealengine.com/t/promoting-variable-from-delaynode-gives-corrupt-variable/412946>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [December 22, 2017, 8:53pm UTC](https://forums.unrealengine.com/t/promoting-variable-from-delaynode-gives-corrupt-variable/412946 "2017-12-22T20:53:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueMind\_Studio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BlueMind\_Studio](https://forums.unrealengine.com/u/BlueMind_Studio)\
**Post date:** [December 22, 2017, 8:53pm UTC](https://forums.unrealengine.com/t/promoting-variable-from-delaynode-gives-corrupt-variable/412946/1 "2017-12-22T20:53:27Z")

</div>

In 4.17 you get a corrupt variable (meaning ignoring its default value) if you pull out of delay node “duration” and promote that to a variable. Even if you use that variable NOT in the delay node - it allways ignores its default value.  
Test in 4.16 and 4.18 worked fine. Tested also with a clean project.

![224803-screenshot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/5/7b5a0eb50e8a1ad6364fb9f9fc15a8ff8079f051.png)

delayvar was pulled out of delay and delay node deleted afterwards, cleanvar is a new variable which just workes like it should. if you manually set that variable with a set node - it works ok in 4.17

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 15, 2022, 6:23pm UTC](https://forums.unrealengine.com/t/promoting-variable-from-delaynode-gives-corrupt-variable/412946/2 "2022-03-15T18:23:12Z")

</div>


