godot
godot copied to clipboard
GDExtension classes inheriting from Resource are not using icons in FileSystem
Tested versions
4.3 dev 1
System information
Windows 10 Godot 4.3 dev 1 Vulkan
Issue description
I am aware there is https://github.com/godotengine/godot/issues/32706, but it does not seem to cover GDExtensions.
Currently, GDExtension classes inheriting from Resource are not using icons in FileSystem. It seems to work in every other place, but not in FileSystem for some reason.
Steps to reproduce
- Create a class in GDExtension that inherits Resource
- Assign an icon in .gdextension file to said class
- Observe how FileSystem is using default icon for this class, while the property viewer is displaying everything as expected
Minimal reproduction project (MRP)
You can see an example in the root of the project here
IconTest.zip