Download

disable editor widget re-initialize on level change, crash on calling load level!!

I have an editor utility widget, within that widget “Event construct” runs every time I change or open level and variables are reset.
Is there any way to disable it ?
Is there any way to save variable values once level changes, similar to unreal game instance?
When is “Event run” & “Event on Initialized” called?
4df95b1c24abd6f48f8ac94188d9375b1bf8ce58.png
https://forums.unrealengine.com/core/image/gif;base64
​​

In widget BP I have a bool, once it is true the level should change. But, the editor crashes whenever the condition is true, if condition is false then no issues.
Any approach to fix this? (" I have left the path to be blank on purpose in image here")

4cf5acb0c7717acf9685c93ac92fdc5b97b5a4aa.png