Open derekdai opened 3 years ago
See also https://github.com/godotengine/godot/issues/19686 and https://github.com/godotengine/godot/issues/36139.
This sounds like an engine issue which should be reported on the main Godot repository. Make sure to include a complete minimal reproduction project there.
With this editor plugin loaded (make sure reloadable is on in
.gdnlib
), unfocus editor window (now the plugin is unloaded), then refocus editor window (plugin now reload again), then click on "Main Screen" button on top of window, editor should crash with segmentation fault.After refocus editor, exit from godot editor results in editor segmentation fault at different place.
My guess is there are something pass from plugin into godot and been kept over plugin unloading and reloading, then editor touches these invalid addresses causes segmentation fault.
Here is my source code, only plugin name and icon returned