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
{{ message }}
Repository navigation
[4.3] Resource::get_rid is not exposed as virtual #1640
It would be theoretically possible to implement for 4.3, using GDExtensionClassCreationInfo::get_rid_func, but would require some custom code, since Resource::_get_rid() isn't a normal virtual function in 4.3 and earlier.
Activity
dsnopek commentedon Nov 13, 2024
The virtual function is
Resource::_get_rid()(with an underscore)mohsenph69 commentedon Nov 13, 2024
Yeah with an underscore, it exist in GDScript but not GDExtension!
dsnopek commentedon Nov 13, 2024
Ah, I see, it's only in Godot
masternot 4.3. This was fixed in godotengine/godot#84944It would be theoretically possible to implement for 4.3, using
GDExtensionClassCreationInfo::get_rid_func, but would require some custom code, sinceResource::_get_rid()isn't a normal virtual function in 4.3 and earlier.[-]Resource::get_rid is not exposed as virtual[/-][+][4.3] Resource::get_rid is not exposed as virtual[/+]