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

Godot Autoload disappeared, but still exists? #100844

Open
Grimshad opened this issue Dec 27, 2024 · 1 comment
Open

Godot Autoload disappeared, but still exists? #100844

Grimshad opened this issue Dec 27, 2024 · 1 comment

Comments

@Grimshad
Copy link

Tested versions

4.3 Stable

System information

Windows 10

Issue description

My autoload went missing from the autoload list, it won't let me readd it because it already exists and all of the references to it now throw errors that it doesn't exist.

Image

Steps to reproduce

Created an autoload, SignalManager with associated script.
Edit the editor settings to use external editor
close godot
open godot
Autoload is gone, but if I try to add it again, it says it already exists.

Minimal reproduction project (MRP)

I can't reproduce it.

@Saulo-de-Souza
Copy link

The class you add in AutoLoad cannot have a name, that is, the script cannot look like this: "class_name SignalManager extends Node", for example. Remove the class name and leave it like this: "extends Node". Leave the file name like this: signal_manager.gd and AutoLoad will automatically create the SignalManager singleton

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

No branches or pull requests

3 participants