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

Resource scripts in addons folder not appearing in resource creation menu #75163

Closed
SlashScreen opened this issue Mar 21, 2023 · 2 comments
Closed

Comments

@SlashScreen
Copy link
Contributor

Godot version

v4.0.stable.mono.official [92bee43]

System information

Windows 10

Issue description

When creating a custom resource (GDScript class inheriting Resource), scripts located underneath addons will not show up in the asset creation menu.

Steps to reproduce

When opening the project, attempt to create a NormalResource and see that it works. This script is located at res://normal_resource.gd.
Then, attempt to create an AddonsResource. See that, despite the code being nearly identical, it will not show up in the menu. This script is located under addons/foo/addons_resource.gd, to simulate being part of a package from the asset library.

Minimal reproduction project

resourcetest.zip

@SlashScreen
Copy link
Contributor Author

I need to register my folder as a plugin for it to work. Whoops.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
@Calinou
Copy link
Member

Calinou commented Mar 21, 2023

See also #30048 and #27470.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants