Custom UI disappears until restarting Fortnite

I have a CreateUI function in Verse that takes a player, and adds a widget to the screen

When stopping the game in Fortnite to apply Verse changes, sometimes the UI stops appearing, even if I revert the code changes

It seems like the only way to fix it is to restart Fortnite, and then the UI appears as normal

Edit: It fixes itself if I fully quit out to lobby, and relaunch the session from the editor.