Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autoload automatically when enabling the plugin #174

Open
darkhog opened this issue May 19, 2024 · 4 comments
Open

Add autoload automatically when enabling the plugin #174

darkhog opened this issue May 19, 2024 · 4 comments

Comments

@darkhog
Copy link

darkhog commented May 19, 2024

EditorPlugin has this nifty method for adding an autoload automatically without the user's intervention: https://docs.godotengine.org/en/stable/classes/class_editorplugin.html#class-editorplugin-method-add-autoload-singleton

@blackears
Copy link
Owner

That is being done. Godot is ignoring it for reasons I do not understand.

@darkhog
Copy link
Author

darkhog commented Jun 13, 2024

Oh. May I take a look? Which file tries to add the autoload automatically? Perhaps I could fix it, just need to know how do you make PRs.

@blackears
Copy link
Owner

It's in res://addons/cyclops_level_builder/cyclops_level_builder.gd line 109. It's one of the first things the addon does when it loads.

@KoB-Kirito
Copy link

It works though.
grafik

Just cloned main, started and restarted and the autoload was there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants