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

Plugin created in addons sub-subfolder is detected, but class_name nodes & resources don't show in Create New Node/Resource dialogue #77099

Open
razcore-rad opened this issue May 15, 2023 · 1 comment

Comments

@razcore-rad
Copy link
Contributor

razcore-rad commented May 15, 2023

Godot version

4.0.3.rc2.official.2ac4e3bb3

System information

Ubuntu 22.10, Vulkan, NVIDIA GeForce RTX™ 2060 / NVIDIA GeForce RTX™ 2060

Issue description

Custom (class_name) nodes & resources don't show up in Create in New Node/Resource dialogues.

This came up because I was looking at Godot Project Manager which uses NPM as a the packager and delivery mechanism. With NPM we can use scoped names like @scope/package and they get installed at addons/@scope/package.

They're detected by Godot just fine, it's just that the custom nodes and resources don't appear in the dialogues as mentioned.

Steps to reproduce

  • Top Level plugin is in addons/top_level
  • Nested Level plugin is in addons/@scope/nested_level

Open the attached project and see that:

  • Plugins ON => TopLevel* visible, NestedLevel* not visible
  • Plugins OFF => TopLevel* not visible, NestedLevel* not visible

in Create New Node/Resource.

Furthermore, it seems that we have access to the classes in code even if the plugins are ON or OFF. I thought they should be registered globally only when plugins are ON.

Minimal reproduction project

godot-4-dbg.zip


Further context godot-package-manager/cli#29

@bend-n
Copy link
Contributor

bend-n commented May 31, 2023

godot4.1 seems to be simply hanging when addons exist now

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

3 participants