-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
How to prevent the plugin being loaded at runtime/by the game? #174
Comments
I looked at this a little, I thought you could simply exclude the addon in the export template, but maybe something has changed in Godot 4. I see that (apparently non-fatal) error as well. Since I'm just starting to use the Git plugin, I don't know if it is the fault of the plugin or the fault of the export toolchain/template. |
I cannot exclude it from a HTML export having
[edit] |
Here's the only workaround I know of.
Nasty but I've used that technique for Linux and Windows exports, so it should work for Web exports too. |
Thanks for the report! Consolidating in #77. |
The plugin is intended purely for the editor, but it's still being loaded by the game and I haven't been able to prevent this.
it's even being attempted to be loaded in a release export with the addons directory removed from the resources to be exported, or in a web export, which of course makes no sense and results in error messages:
web export:
The text was updated successfully, but these errors were encountered: