# Endless recursion in CreateKeyEditor(...) (2.03.08)

**URL:** <https://qa.fmod.com/t/endless-recursion-in-createkeyeditor-2-03-08/23111>\
**Category:** Unreal Engine\
**Created:** [July 2, 2025, 3:16pm UTC](https://qa.fmod.com/t/endless-recursion-in-createkeyeditor-2-03-08/23111 "2025-07-02T15:16:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielRind](https://avatars.discourse-cdn.com/v4/letter/d/53a042/32.png) [@DanielRind](https://qa.fmod.com/u/DanielRind)\
**Post date:** [July 2, 2025, 3:16pm UTC](https://qa.fmod.com/t/endless-recursion-in-createkeyeditor-2-03-08/23111/1 "2025-07-02T15:16:36Z")

</div>

Hi!

After updating to FMOD 2.03.08 we had reports of our editor crashing when sequences are edited.  
Seems like an endless recursion was introduced in CreateKeyEditor (FMODChannelEditors.cpp):

```auto
TSharedRef<SWidget> CreateKeyEditor(const TMovieSceneChannelHandle<FFMODEventControlChannel> &Channel, const UE::Sequencer::FCreateKeyEditorParams& Params)
{
    const FFMODEventControlChannel *RawChannel = Channel.Get();

    if (!RawChannel)
    {
        return SNullWidget::NullWidget;
    }

    UEnum *Enum = RawChannel->GetEnum();
	return CreateKeyEditor(Channel.Cast<FFMODEventControlChannel>(), Params);
}

```

Pretty sure that last line above is supposed to read:

```auto
return SNew(SFMODEventControlKeyEditor, Channel, Params.OwningSection, Params.Sequencer, Enum);

```

Ciao, Daniel!

---

<div class="post-metadata">

**Author:** ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)\
**Post date:** [July 9, 2025, 4:43am UTC](https://qa.fmod.com/t/endless-recursion-in-createkeyeditor-2-03-08/23111/2 "2025-07-09T04:43:53Z")

</div>

> [@DanielRind](#):
>
> `return SNew(SFMODEventControlKeyEditor, Channel, Params.OwningSection, Params.Sequencer, Enum);`

This is the fix we have ready to go out once we finish testing this and some other fixes.
