# Delay and while loop don't cooperate well

**URL:** <https://forums.unrealengine.com/t/delay-and-while-loop-dont-cooperate-well/346193>\
**Category:** Blueprint\
**Tags:** crashes, while-loop, unreal-engine, UE4, Blueprint, question\
**Created:** [February 2, 2016, 7:57pm UTC](https://forums.unrealengine.com/t/delay-and-while-loop-dont-cooperate-well/346193 "2016-02-02T19:57:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 2, 2016, 7:57pm UTC](https://forums.unrealengine.com/t/delay-and-while-loop-dont-cooperate-well/346193/1 "2016-02-02T19:57:36Z")

</div>

This makes the whole engine instantly crash on usage

 ![77029-unrealcrashwtf.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/b/16b3202469d1cb446be96f162a9262d7afa19d3f.png)

---

<div class="post-metadata">

**Author:** ![Sean\_Flint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sean\_Flint](https://forums.unrealengine.com/u/Sean_Flint)\
**Post date:** [February 2, 2016, 8:37pm UTC](https://forums.unrealengine.com/t/delay-and-while-loop-dont-cooperate-well/346193/2 "2016-02-02T20:37:36Z")

</div>

Hello,

- Could you please provide the logs from your project’s Saved-\>Logs folder?
- If you are getting a Crash Reporter window, could you provide your Machine ID from the window and ensure you hit send on the report?

---

<div class="post-metadata">

**Author:** ![te4zer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@te4zer](https://forums.unrealengine.com/u/te4zer)\
**Post date:** [February 4, 2016, 1:28pm UTC](https://forums.unrealengine.com/t/delay-and-while-loop-dont-cooperate-well/346193/3 "2016-02-04T13:28:41Z")

</div>

I found the issue. It is the typ of the delay in that while loop. It never ends. I fixed it. Instead of that while loop i will add a Timeline later on.  
[alt text][1]  
[1]:

 ![77287-fixed.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/a/aeaa93d7e55dcd25ae7b2d70fe7592e888d14960.png)
