Closed adamscott closed 9 months ago
Thanks for the report! Consolidating in https://github.com/godot-extended-libraries/godot-debug-menu/issues/15, which was fixed by https://github.com/godot-extended-libraries/godot-debug-menu/pull/16 but isn't present in a tagged release yet.
Error
The example says to use that line in order to set the
DebugMenu
But this error happens.
Invalid get index 'Style' (on base: 'CanvasLayer').
Cause
It stunned me because the script
debug_menu.gd
extendsControl
, notCanvasLayer
. But I realized that the instantiated autoload is the scene, not the script. And the root node of the scene is aCanvasLayer
.