Closed Lucrecious closed 5 years ago
I found a solution for this spam. (check the commit above) However, when I checked the docs and the sourcecode, I wasn't able to really get an idea what "script_name_class" is used for. I think there should be a clearer explanation in the docs what it is used for. if I leave it blank for my gdnative scripts (c++) they still work.
If it is not necessary to further investigate this issue, let me know and I will create a pull request.
The script_class_name
is like the class_name
keyword, it allows me to make an alias for the path to the .gdn. My project breaks without it :p
Hopefully this gets pulled into a beta soon!
ah ok it's just an alias. Good to know! My fix should be sufficient then. :)
I'm having this error in godot 4.2.2
Godot version: 3.1 beta 5
OS/device including version: OSX
Issue description: I get spammed with the error as soon as I click "Add Node" and while I'm typing in the "Add Node" search.
I used lldb with VSCode to figure out where the
No loader found for resource: res://
was coming from (it'd be cool to get some kind of hint as to "who" is trying to load this resource).I found out that it's somehow coming from the NativeScript classes I have. As in, there's one
No loader found ...
for each.gdn
I'm using. All.gdn
s have a non-empty class name, script name, valid library path, valid resource path to itself and a resource name under the inspector.Here's an example of one of my
.gdn
s:Here's how the project.godot looks like for defining this global class name:
The spamming seems to really slow down the "Add Node" window.
Steps to reproduce:
This issue is similar to https://github.com/godotengine/godot/issues/22377