Listening to LocalOnTick in a widget without a callback crashes the game

Describe the bug: Game will crash immediately upon trying to render a widget

How do you cause this bug?

Create a widget, listen to LocalOnTick, and don’t pass a callback

<script>
  engine.on("LocalOnTick");
</script>

Preview the widget in the editor

Which platform: PC

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: September 20 2021

Version number (found in Help tab in Settings): 0.7.639.110013

Hello Cereal,

Thank you for reporting this issue to us.
I have submitted a ticket to our internal team. :slight_smile: