# task(t:type).Await() crashing in some cases.

**URL:** <https://forums.unrealengine.com/t/task-t-type-await-crashing-in-some-cases/2721920>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, open, fortnite\
**Created:** [May 13, 2026, 8:51pm UTC](https://forums.unrealengine.com/t/task-t-type-await-crashing-in-some-cases/2721920 "2026-05-13T20:51:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jpt\_96](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jpt\_96](https://forums.unrealengine.com/u/Jpt_96)\
**Post date:** [May 13, 2026, 8:51pm UTC](https://forums.unrealengine.com/t/task-t-type-await-crashing-in-some-cases/2721920/1 "2026-05-13T20:51:31Z")

</div>

### Summary

the following snippet will crash 100% of the time.

```auto

foo <public> := class{ I : int = 0 }
   

tester_component <public> := class<final_super>(component):
    
    FooEvent : event(foo) = event(foo){}
   
    OnSimulate<override>()<suspends>:void=
    
        Temp : foo = foo{}

        EventTask : task(foo) = spawn{ FooEvent.Await() }

        branch:
            Sleep(1.0)
            FooEvent.Signal( Temp ) # <- causes crash but compiles fine. 

        Foo := EventTask.Await() 

### a temp workaround ###

<#

    This seems to work just fine from what I can tell. 

#>

awaitable_task_wrapper<internal>(t:type) := class<internal>:
    Awaitable <public> : awaitable(t)
    AwaitValue<internal>()<suspends>:t=(Awaitable.Await())

(Awaitable:awaitable(t) where t:type).Task<public>():task(t)=
    Wrapper := awaitable_task_wrapper(t){ Awaitable := Awaitable }
    spawn:
        Wrapper.AwaitValue()

```

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Stability

### Steps to Reproduce

copy snippet, compile, place component on an entity, launch edit session.

### Expected Result

`EventTask`’s `Await()` to not crash when the event is signaled.

### Observed Result

crashing.

### Platform(s)

windows

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [May 26, 2026, 8:00pm UTC](https://forums.unrealengine.com/t/task-t-type-await-crashing-in-some-cases/2721920/4 "2026-05-26T20:00:33Z")

</div>

FORT-1103255 has been ‘Backlogged’. This is an issue that is in a queue to be addressed.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [November 9, 2026, 8:51pm UTC](https://forums.unrealengine.com/t/task-t-type-await-crashing-in-some-cases/2721920/5 "2026-11-09T20:51:59Z")

</div>

This topic was automatically closed after 180 days. New replies are no longer allowed.
