You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using an exported property hint from GDNative/godot-cpp, it no longer shows the expected types, instead it lists all resource types. And if you try to do a quick load, it shows all resource types in the project as well instead of just Packed Scenes.
This regression started in 3.5-rc4 and is still present in 3.5-rc5. However it worked as expected in 3.5-rc3.
This is the code used to register the property: register_property<Main, Ref<PackedScene>>("level", &Main::set_level, &Main::get_level, NULL, GODOT_METHOD_RPC_MODE_DISABLED, GODOT_PROPERTY_USAGE_DEFAULT, GODOT_PROPERTY_HINT_RESOURCE_TYPE, String("PackedScene"));
Godot version
3.5-rc5
System information
Linux Mint 20.3, Nvidia 1650
Issue description
When using an exported property hint from GDNative/godot-cpp, it no longer shows the expected types, instead it lists all resource types. And if you try to do a quick load, it shows all resource types in the project as well instead of just Packed Scenes.
This regression started in 3.5-rc4 and is still present in 3.5-rc5. However it worked as expected in 3.5-rc3.
This is the code used to register the property:
register_property<Main, Ref<PackedScene>>("level", &Main::set_level, &Main::get_level, NULL, GODOT_METHOD_RPC_MODE_DISABLED, GODOT_PROPERTY_USAGE_DEFAULT, GODOT_PROPERTY_HINT_RESOURCE_TYPE, String("PackedScene"));
Here are some images to show what is happening:
Click the node to see exported property for the PackedScene
Result(3.5-rc4 and rc5)
Expected result(3.5-rc3)
Steps to reproduce
Minimal reproduction project
project.zip
This project if run with 3.5-rc4 or rc5 has the regression. I included both the windows and linux GDNative libs already compiled to test it out with.
The text was updated successfully, but these errors were encountered: