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
GDExtensionObjectPtr is a part of gdextension_interface and is a void pointer to pas data pointers between GDExtesion and Godot Core.
In the images below you are able to see that the extension reinterpret_cast works fine.
And that the pointer is passed to core.
However at core Ref<Script> script_test stays a NULL value
I was hoping this would be solved by solving cpp 1119
Steps to reproduce
Create a custom script instance and create it using internal::gdextension_interface_script_instance_create and a GDExtensionScriptInstanceInfo that only implements get_property_list_func and get_script_func.
Minimal reproduction project
Difficult to create a minimal project.
Mostly looking for advice on what to test to find the actual source problem
The text was updated successfully, but these errors were encountered:
Godot version
v4.1.beta
System information
Windows 10
Issue description
Is not creating a functional reference.
GDExtensionObjectPtr is a part of gdextension_interface and is a void pointer to pas data pointers between GDExtesion and Godot Core.
In the images below you are able to see that the extension
reinterpret_cast
works fine.And that the pointer is passed to core.
However at core
Ref<Script> script_test
stays a NULL valueI was hoping this would be solved by solving cpp 1119
Steps to reproduce
Create a custom script instance and create it using
internal::gdextension_interface_script_instance_create
and aGDExtensionScriptInstanceInfo
that only implementsget_property_list_func
andget_script_func
.Minimal reproduction project
Difficult to create a minimal project.
Mostly looking for advice on what to test to find the actual source problem
The text was updated successfully, but these errors were encountered: