In Godot 4.2, Editor Interface is now a singleton.
This makes plugin.gdunable to register the icons, and the whole plugin does not load properly
Changing line 23 on plugin.gd from ,
var theme = get_editor_interface().get_base_control().get_theme()
to
var theme = EditorInterface.get_editor_theme()
Fixes the error and I´m able to use the use it again.
I have not experienced any other issues with 4.2
In Godot 4.2, Editor Interface is now a singleton. This makes
plugin.gd
unable to register the icons, and the whole plugin does not load properlyChanging line 23 on
plugin.gd
from ,var theme = get_editor_interface().get_base_control().get_theme()
tovar theme = EditorInterface.get_editor_theme()
Fixes the error and I´m able to use the use it again. I have not experienced any other issues with 4.2