firebelley / godot-export

Automatically exports your Godot games.
MIT License
460 stars 53 forks source link

Error when trying to look for classes in some plugins #122

Closed DavidOcacho closed 10 months ago

DavidOcacho commented 10 months ago

I'm using some third party addon for scene managment (https://github.com/glass-brick/Scene-Manager) and godot-export is giving me this error. Any idea? The SceneManagerConstants class looks like this:

class_name SceneManagerConstants extends Object

const SINGLETON_GROUP_NAME = "scene_manager_entity_nodes"
const SINGLETON_META_NAME = "entity_name"
 SCRIPT ERROR: Parse Error: Identifier "SceneManagerConstants" not declared in the current scope.
            at: GDScript::reload (res://addons/scene_manager/SceneManager.gd:48)
firebelley commented 10 months ago

Are you using a git submodule for the addon by any chance? If so, your workflow will have to defined recursive submodule checkout.

DavidOcacho commented 10 months ago

Nope, I'm just copy pasted the addons for now

firebelley commented 10 months ago

This doesn't look like a problem related to godot-export. Have you tried exporting your game from local first? This looks like an issue you'd experience regardless of how you export. Feel free to leave more comments on this issue if you definitively conclude that this is an issue with this action.