[Feature Request] Catch segmentation fault cause by the game code without crashing the editor

Hi,

Running into a segmentation fault and waiting for the editor to restart is really time-consuming. It will be more convenient if the editor is able to catch the exceptions caused by the user’s game code and just pop up a message box instead of exiting the whole editor.