Plugin fails to load due to syntax error.
EzraT opened this issue · comments
You need to enable the cartographer singleton. Check the example's settings. I should add this to the readme.
You need to enable the cartographer singleton.
Thanks, I tried that before and it gave me the same error, but I see where things went wrong now, the project needs to be reloaded after the singleton is added, after that the plugin loads.
I'm a bit confused though, isn't the plugin supposed to add the singleton on init by itself?
The init function of the plugin.gd tries to load it with:
add_autoload_singleton("Cartographer", "res://addons/cartographer/cartographer_singleton.gd")
What use does this have if you need to load it manually anyway?
add_autoload_singleton
just adds it to the autoload list, you still have to enable it, as for the reasoning, I don't know.