cyclopsLevelBuilder
cyclopsLevelBuilder copied to clipboard
Unable to load addon script
it shows: "Unable to load addon script from path: 'res://addons/cyclops_level_builder/cyclops_level_builder.gd'. This might be due to a code error in that script. Disabling the addon at 'res://addons/cyclops_level_builder/plugin.cfg' to prevent further errors."
whenever i try enabling the addon and wehn i go into the code, it shows a bunch of errors in it:
Line 37:Could not find type "CyclopsLogger" in the current scope.
Line 37:Identifier "CyclopsLogger" not declared in the current scope.
Line 75:Could not find type "DisplayMode" in the current scope.
Line 75:Identifier "DisplayMode" not declared in the current scope.
Line 198:Could not find type "CyclopsLogger" in the current scope.
Line 198:Identifier "CyclopsLogger" not declared in the current scope.
Line 84:Identifier "CyclopsAutoload" not declared in the current scope.
also, note: i tried reloading the project but it still doesnt work
this is what the console says btw:
[ ] - Attempt to open script 'res://addons/fmod/FmodManager.gd' resulted in error 'File not found'.
[ ] - Failed loading resource: res://addons/fmod/FmodManager.gd. Make sure resources have been imported by opening the project in the editor at least once.
[ ] - Failed to create an autoload, can't load from path: res://addons/fmod/FmodManager.gd.
[ ] - Attempt to open script 'res://addons/fmod/FmodManager.gd' resulted in error 'File not found'.
[ ] - Failed loading resource: res://addons/fmod/FmodManager.gd. Make sure resources have been imported by opening the project in the editor at least once.
[ ] - Failed to create an autoload, can't load from path: res://addons/fmod/FmodManager.gd.
[ ] - editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
[ ] - res://addons/cyclops_level_builder/actions/action_delete_selected_blocks.gd:25 - Parse Error: Could not resolve class "CyclopsAction".
[ ] - res://addons/cyclops_level_builder/tools/cyclops_tool.gd:-1 - Compile Error:
[ ] - res://addons/cyclops_level_builder/resources/tool_tag.gd:-1 - Compile Error:
[ ] - res://addons/cyclops_level_builder/resources/cyclops_config.gd:-1 - Compile Error:
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/resources/cyclops_config.gd" with error "Compilation failed". (User)
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:76 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:77 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:85 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:86 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:94 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:95 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:103 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:104 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:139 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:162 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:167 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:169 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:201 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:203 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd" with error "Parse error". (User)
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:76 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:77 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:85 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:86 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:94 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:95 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:103 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:104 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:139 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:162 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:167 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:169 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:201 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid_properties_editor.gd:203 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/snapping/snapping_system_grid.gd:-1 - Compile Error:
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/snapping/snapping_system_grid.gd" with error "Compilation failed". (User)
[ ] - res://addons/cyclops_level_builder/actions/cyclops_action.gd:42 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/actions/io/action_import_mesh_instance.gd:-1 - Compile Error:
[ ] - res://addons/cyclops_level_builder/actions/cyclops_action.gd:42 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/actions/io/action_import_cyclops_file.gd:-1 - Compile Error:
[ ] - res://addons/cyclops_level_builder/menu/main_toolbar.gd:-1 - Compile Error:
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/menu/main_toolbar.gd" with error "Compilation failed". (User)
[ ] - res://addons/cyclops_level_builder/actions/cyclops_action.gd:42 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - res://addons/cyclops_level_builder/menu/action_popup_menu.gd:-1 - Compile Error:
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/menu/action_popup_menu.gd" with error "Compilation failed". (User)
[ ] - res://addons/cyclops_level_builder/menu/editor_toolbar.gd:230 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/menu/editor_toolbar.gd" with error "Parse error". (User)
[ ] - res://addons/cyclops_level_builder/cyclops_level_builder.gd:84 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/cyclops_level_builder.gd" with error "Parse error". (User)
[ ] - modules/gdscript/gdscript.cpp:2203 - Condition "!named_globals.has(p_name)" is true.
[ ] - Attempt to open script 'res://addons/fmod/FmodManager.gd' resulted in error 'File not found'.
[ ] - Failed loading resource: res://addons/fmod/FmodManager.gd. Make sure resources have been imported by opening the project in the editor at least once.
[ ] - Failed to create an autoload, can't load from path: res://addons/fmod/FmodManager.gd.
[ ] - editor/editor_autoload_settings.cpp:577 - Condition "!info->node" is true. Continuing.
[ ] - res://addons/cyclops_level_builder/cyclops_level_builder.gd:84 - Parse Error: Identifier "CyclopsAutoload" not declared in the current scope.
[ ] - modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/cyclops_level_builder.gd" with error "Parse error". (User)
What's fmod manager? It seems to be throwing an error first and is not part of Cyclops.
Godot also seems to be having trouble just resolving the names of classes. Did you install this from the Cyclops zip file? Make sure to only install the addon from the packaged release and not the raw source tree. Also, if this is still not working, try installing Cyclops on a new empty project and see if that still causes errors.
Another user was saying they had problems on Godot 4.3.3, but not 4.3.4. You might want to try this release too.
What's fmod manager? It seems to be throwing an error first and is not part of Cyclops.
Godot also seems to be having trouble just resolving the names of classes. Did you install this from the Cyclops zip file? Make sure to only install the addon from the packaged release and not the raw source tree. Also, if this is still not working, try installing Cyclops on a new empty project and see if that still causes errors.
Another user was saying they had problems on Godot 4.3.3, but not 4.3.4. You might want to try this release too.
i made a new project and tried without any addon, no errors except for cyclops, also, imma try that, maybe that will fix it
What's fmod manager? It seems to be throwing an error first and is not part of Cyclops. Godot also seems to be having trouble just resolving the names of classes. Did you install this from the Cyclops zip file? Make sure to only install the addon from the packaged release and not the raw source tree. Also, if this is still not working, try installing Cyclops on a new empty project and see if that still causes errors. Another user was saying they had problems on Godot 4.3.3, but not 4.3.4. You might want to try this release too.
i made a new project and tried without any addon, no errors except for cyclops, also, imma try that, maybe that will fix it
not working, i am using 4.3, but idk the exact version, it just says 4.3 for me, can u send me the link to the issue page so i can see wat he did?
i saw the page, i still dont understand where to get 4.3.4
Me too
I'm developing on v4.3.stable.official [77dcf97d8]. I'm not sure what to say other than that this is a persistent problem that is not related to the code itself but the way Godot parses class names. I also can't debug something that I can't reproduce on my machine. You might have to fiddle around with reloading and making sure that all the needed Autoloads and plugins are enabled. Starting with a new blank project can help too.
I'm making changes to the project to try and eleminate the CyclopsAutoload which will hopefully reduce the number of problems, but I don't know when I'll be finished with this.
wait,I found the solution,
You need to do what is shown in the picture and, when adding AutoLoad, its name must be CyclopsAutoload (this is case sensitive, so make sure only the C and A are capitalized),More information can be found on the Redme page
wait,I found the solution,
You need to do what is shown in the picture and, when adding AutoLoad, its name must be CyclopsAutoload (this is case sensitive, so make sure only the C and A are capitalized),More information can be found on the Redme page
OOOHHHH, tyy, ill do that ASAP. sry for late reply
wait,I found the solution,
You need to do what is shown in the picture and, when adding AutoLoad, its name must be CyclopsAutoload (this is case sensitive, so make sure only the C and A are capitalized),More information can be found on the Redme page
For some reason it doesn't work for me. And interface of Project Settings a little bit different. See yourself:
I've added Autoload things as written in README, but cannot activate plugin:
res://addons/cyclops_level_builder/cyclops_level_builder.gd:37 - Parse Error: Could not find type "CyclopsLogger" in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:37 - Parse Error: Identifier "CyclopsLogger" not declared in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:75 - Parse Error: Could not find type "DisplayMode" in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:75 - Parse Error: Identifier "DisplayMode" not declared in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:198 - Parse Error: Could not find type "CyclopsLogger" in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:198 - Parse Error: Identifier "CyclopsLogger" not declared in the current scope.
res://addons/cyclops_level_builder/cyclops_level_builder.gd:84 - Parse Error: Could not resolve external class member "settings".
modules/gdscript/gdscript.cpp:2936 - Failed to load script "res://addons/cyclops_level_builder/cyclops_level_builder.gd" with error "Parse error". (User)
Found the problem. This plugin needs C# version of Godot.
You need to do what is shown in the picture and, when adding AutoLoad, its name must be CyclopsAutoload (this is case sensitive, so make sure only the C and A are capitalized),More information can be found on the Redme page
You need to do what is shown in the picture and, when adding AutoLoad, its name must be CyclopsAutoload (this is case sensitive, so make sure only the C and A are capitalized),More information can be found on the Redme page