You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently had an Asset approved on the Asset Lib. I was disappointed that trying my new Asset using the Import system produced errors. There is probably another request I want to open regarding having a TEST site for Assets, but for now I want to report this.
After importing my Asset (Godot-Stuff Logging 3.1) and setting up and Autoload global, I receive a number of errors as seen below.
The Workaround is to close your project and reopen it.
Resource: 'res://gs_logger/logger.gd' is already being loaded. Cyclic reference?
res://gs_logger/layouts/pattern_layout.gd:13 - Parse Error: Identifier 'Logger' is not declared in the current scope.
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERROR
res://gs_logger/appender.gd:53 - Parse Error: Class 'PatternLayout' could not be fully loaded (script error or cyclic dependency).
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERROR
res://gs_logger/logger.gd:268 - Parse Error: Class 'Appender' could not be fully loaded (script error or cyclic dependency).
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERROR
Script does not inherit a Node: res://gs_logger/logger.gd
editor/editor_autoload_settings.cpp:448 - Condition ' !info->node ' is true. Continuing..:
Add AutoLoad
Steps to reproduce:
create a new project
use the assetlib and download and import Godot-Stuff 3.1 Logger
create a new Autoload for the script gs_logger/logger.gd and call it "Logger"
you will receive the errors above
create a new scene and attach a gdscript to it
try to access the Logger global object you will receive the following errors
Resource: 'res://gs_logger/logger.gd' is already being loaded. Cyclic reference?
res://gs_logger/layouts/pattern_layout.gd:13 - Parse Error: Identifier 'Logger' is not declared in the current scope.
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERROR
res://gs_logger/appender.gd:53 - Parse Error: Class 'PatternLayout' could not be fully loaded (script error or cyclic dependency).
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERROR
res://gs_logger/logger.gd:268 - Parse Error: Class 'Appender' could not be fully loaded (script error or cyclic dependency).
modules/gdscript/gdscript.cpp:580 - Method/Function Failed, returning: ERR_PARSE_ERRO
close the project and re-open it
the errors disappear
Minimal reproduction project:
The text was updated successfully, but these errors were encountered:
Godot version: 3.1 (confirmed)
OS/device including version: Windows 10 & Linux
Issue description:
I recently had an Asset approved on the Asset Lib. I was disappointed that trying my new Asset using the Import system produced errors. There is probably another request I want to open regarding having a TEST site for Assets, but for now I want to report this.
After importing my Asset (Godot-Stuff Logging 3.1) and setting up and Autoload global, I receive a number of errors as seen below.
The Workaround is to close your project and reopen it.
Steps to reproduce:
Minimal reproduction project:
The text was updated successfully, but these errors were encountered: