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

"AntialiasedLine2DTexture" isn't declared in the current scope #7

Closed
VanDeiMin opened this issue May 8, 2023 · 3 comments
Closed

Comments

@VanDeiMin
Copy link

how can I fix it?
Is it AntialiasedLine2DTexture class missing?
best regards
van
SCRIPT ERROR: Parse Error: The identifier "AntialiasedLine2DTexture" isn't declared in the current scope.
at: GDScript::reload (res://addons/antialiased_line2d/antialiased_line2d.gd:7)
SCRIPT ERROR: Parse Error: The identifier "AntialiasedLine2DTexture" isn't declared in the current scope.
at: GDScript::reload (res://addons/antialiased_line2d/antialiased_regular_polygon2d.gd:21)
SCRIPT ERROR: Parse Error: The identifier "AntialiasedLine2DTexture" isn't declared in the current scope.
at: GDScript::reload (res://addons/antialiased_line2d/antialiased_line2d.gd:7)
Refreshing plugin: antialiased_line2d
SCRIPT ERROR: Parse Error: The class "AntialiasedLine2D" couldn't be fully loaded (script error or cyclic dependency).
at: GDScript::reload (res://addons/antialiased_line2d/antialiased_regular_polygon2d.gd:82)

@OmarShehata
Copy link

@VanDeiMin what version of Godot are you using? If Godot 4, it isn't supported, see #5

If Godot 3...how did you install the plugin? Through the asset library or manually? That sounds like the autoload isn't setup. You could try the manual installation (or vice versa, the asset library install)

@Calinou
Copy link
Member

Calinou commented Aug 19, 2023

If Godot 3...how did you install the plugin? Through the asset library or manually? That sounds like the autoload isn't setup. You could try the manual installation (or vice versa, the asset library install)

The error message with script error or cyclic dependency only exists in 3.x, not 4.x.

@VanDeiMin Which exact Godot version are you using, and how did you install the add-on?

@Calinou
Copy link
Member

Calinou commented Sep 10, 2023

Closing due to lack of response. Please comment if you can still reproduce this bug on the latest Godot version and latest add-on version.

@Calinou Calinou closed this as completed Sep 10, 2023
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