# Crash:Assertion failed: IsInGameThread() || IsInSlateThread()" When updating widget with event dispatcher UE5

**URL:** <https://forums.unrealengine.com/t/crash-assertion-failed-isingamethread-isinslatethread-when-updating-widget-with-event-dispatcher-ue5/2153736>\
**Category:** Programming & Scripting\
**Tags:** event-dispatcher, unreal-engine, crash, Widget\
**Created:** [November 27, 2024, 4:06am UTC](https://forums.unrealengine.com/t/crash-assertion-failed-isingamethread-isinslatethread-when-updating-widget-with-event-dispatcher-ue5/2153736 "2024-11-27T04:06:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![miguelfaro13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@miguelfaro13](https://forums.unrealengine.com/u/miguelfaro13)\
**Post date:** [November 27, 2024, 4:06am UTC](https://forums.unrealengine.com/t/crash-assertion-failed-isingamethread-isinslatethread-when-updating-widget-with-event-dispatcher-ue5/2153736/1 "2024-11-27T04:06:13Z")

</div>

Hello,

I am doing a digital twin project in Unreal 5.4 and i am sending updated data from an actor (that receives and handles all the communication) to a clock widget, using event dispatchers (passing a text parameter with the time data).

I can print the data to console correctly from the clock widget event graph when the event dispatcher is triggered but when i try to actually set it to the clock widget, unreal imediatly crashes with this error - Assertion failed: IsInGameThread() || IsInSlateThread().

Screenshot of clock widget event graph : [https://postimg.cc/87P6FLKC](https://postimg.cc/87P6FLKC)

I am very new to unreal, can someone provide a solution?

 ![clock_graph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/1/fe1d4cd33c960ad5af4b3906aad25a26e3c6446c.png)
