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

Regression: classes "not declared in the current scope" on runtime only #61084

Closed
Chlorobyte-but-real opened this issue May 16, 2022 · 1 comment · Fixed by #61110
Closed

Comments

@Chlorobyte-but-real
Copy link

Chlorobyte-but-real commented May 16, 2022

Godot version

v4.0.alpha.custom_build [d6e7dcb]; unmodified master built with scons -j8 platform=x11 tools=yes target=release_debug bits=64

System information

Linux

Issue description

Accessing classes (as a static type, or by using a static function as in the example) was broken in #60999 and result in this error on runtime.


4b013a9 works:

Steps to reproduce

  1. Create a class and name it using class_name.
  2. Try to access that class in another script.

Minimal reproduction project

class_static_typing_error.zip

@Uniformbuffer3
Copy link

I'm also experiencing this error, look like Godot fails to resolve custom class names in general. A side effect of this problem is that is no more possible to extends custom classes because Godot cannot resolve their names, breaking the entire class system.

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

Successfully merging a pull request may close this issue.

3 participants