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

Bug when trying to enable the add-on #20

Closed
LienRag opened this issue Aug 27, 2022 · 1 comment
Closed

Bug when trying to enable the add-on #20

LienRag opened this issue Aug 27, 2022 · 1 comment

Comments

@LienRag
Copy link

LienRag commented Aug 27, 2022

When trying to enable the plugin in the Project Settings/extensions panel I got "Impossible de charger le script de l’extension depuis le chemin : « res://addons/cardengine/card_engine.gd ». Cela peut être dû à une erreur de programmation dans ce script.
L'extension « res://addons/cardengine/plugin.cfg » a été désactivée pour prévenir de nouvelles erreures." when trying to enable it in the Project Settings/extensions panel.

This in Godot 3.3.2, Godot 3.4.0 and Godot 3.5.0.

I did put the unzipped add-on directory inside the folder of my project, and I also tried to put the full unzipped directory in the addon directory.
Both were recognized by the "extensions" panel, but both gave the same error when trying to activate them.

@BraindeadBZH
Copy link
Owner

BraindeadBZH commented Aug 31, 2022

Sorry, you cannot just drop the CardEngine plugin in the project like that, this repo is supposed to be used as a template.
If you think you have all the files in place in your project directory, you might be missing the necessary AutoLoads that need to be present before activating the plugin.
image

You also need the project.cardengine file at the root of the project which contains folder paths that should exists.

PS: I did test this repo against Godot 3.5.0 and its working fine.

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

2 participants