Reloading/refreshing a script in an editor addon/plugin

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By smt

So I have a simple editor extension, I’m trying to create a pretty simple custom resource that just holds data (exported variables), however if I want to add a new variable the resource doesn’t seem to update, even if I disable then re-enable the plugin and even if I create an entirely new resource of my custom type - the only thing that seems to work is an editor restart

So is there some way I can get the plugin to ‘detect’ changes or force a refresh? Or force godot to refresh all the engine addons? Thanks

The problem is being studied: Editor doesn't reload changed resources. · Issue #30302 · godotengine/godot · GitHub

luislodosm | 2021-05-25 22:19