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

Setting resource_path for dynamic scripts to 'res://addons/....' will include dynamic scripts in "exclude addons" #601

Closed
bitwes opened this issue May 9, 2024 · 0 comments · Fixed by #602

Comments

@bitwes
Copy link
Owner

bitwes commented May 9, 2024

It turns out that resource_path is what Godot uses to determine if a script is in an addons directory or not. If this is set resource_path for dynamic scripts to res://addons/anything/else.gd then they will also be ignored. This will fix any warnings/errors that are generated from dynamic scripts as long as exclude addons is enabled.

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

Successfully merging a pull request may close this issue.

1 participant