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

Singleton not autoloaded when in editor mode #16012

Closed
nadnam opened this issue Jan 23, 2018 · 1 comment
Closed

Singleton not autoloaded when in editor mode #16012

nadnam opened this issue Jan 23, 2018 · 1 comment
Labels

Comments

@nadnam
Copy link

nadnam commented Jan 23, 2018

Godot version:
v3.0.rc2.official

Issue description:
Scripts using singletons don't recognize singleton identifiers while in editor, as they are not loaded. Both script and singleton have "tool" first line. In more complex projects, this problem silently crashes script loading in editor, no error messages are shown at all except for missing exported variables in tree node editors & nodes being invisible in 3d world (meshes fail to load etc). Running these projects work correctly, though.

Steps to reproduce:
Open project in editor, check output tab for error messages. When project is run everything works as expected.

Minimal reproduction project:
BugTest.zip

@vnen
Copy link
Member

vnen commented Jan 23, 2018

Thanks for the report, but this is an old known issue. Closing as duplicate of #4236.

@vnen vnen closed this as completed Jan 23, 2018
@vnen vnen added the archived label Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants