CodeAndWeb / texturepacker-godot-plugin

AtlasTexture and TileSet importer for Godot engine. Loads sprites sheets created with TexturePacker
MIT License
65 stars 17 forks source link

Errors in latest beta (Godot 3.2.2 beta 4) #13

Closed Keetz closed 4 years ago

Keetz commented 4 years ago

The plugin can't load in the latest beta due to the following errors.

SCRIPT ERROR: GDScript::reload: Parse Error: Variable "id" already defined in the scope (at line 101).
   At: res://addons/codeandweb.texturepacker/texturepacker_import_tileset.gd:102.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:599.
SCRIPT ERROR: GDScript::reload: Parse Error: Couldn't fully preload the script, possible cyclic reference or compilation error. Use "load()" instead if a cyclic reference is intended.
   At: res://addons/codeandweb.texturepacker/codeandweb.texturepacker_importer.gd:34.
ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:599.
noidexe commented 4 years ago

Try removing line 101 in import_tileset.dg

On Mon, Jun 8, 2020, 04:21 Rasmus notifications@github.com wrote:

The plugin can't load in the latest beta due to the following errors.

SCRIPT ERROR: GDScript::reload: Parse Error: Variable "id" already defined in the scope (at line 101). At: res://addons/codeandweb.texturepacker/texturepacker_import_tileset.gd:102. ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR At: modules/gdscript/gdscript.cpp:599. SCRIPT ERROR: GDScript::reload: Parse Error: Couldn't fully preload the script, possible cyclic reference or compilation error. Use "load()" instead if a cyclic reference is intended. At: res://addons/codeandweb.texturepacker/codeandweb.texturepacker_importer.gd:34. ERROR: reload: Method failed. Returning: ERR_PARSE_ERROR At: modules/gdscript/gdscript.cpp:599.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CodeAndWeb/texturepacker-godot-plugin/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAT3KVCMYN5QIS55CY2RLRVSGPZANCNFSM4NYC3ESA .

CodeAndWeb commented 4 years ago

Thanks for reporting this issue. It's now fixed in the updated version.