Load level crash editor

Hi all !

I made a widget editor that can open a level selected from a comboboxstring array.
When selected, it uses the LoadLevel node with the path to the level to open it.
But most of the time (not always), the editor crash when opening the level.

Any idea why ? I thought it could be because when a new level is open in the editor, all widgets are reset (MyWidget_C_0 become MyWidget_C_1). But i don’t know what kind of asset I should create that could be persistent across the editor when opening a level.

BTW, Can I store variables during editor session ? It seems I can’t use Editor widget nor editor actors (cause actors are related to a level no?)

Thanks for your advices

OK, I found out that was because the Loadlevel was executed directly by the OnSelectionChanged from the comboBox. Using validation by a button seems to fix it.

But is there some equivalent to a GameInstance for editor session ?