We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is related to #253! It used to be possible to instantiate a Reference in the GDNative side using:
return Ref<B>::__internal_constructor(B::_new())
now this doesn't working anymore (it compiles) but crashes when running in Godot 3.1 stable.
@karroffel (I talked with you about this some time ago.. and it was you that said to use this "snippet".. what do you suggest as alternative now?)
The text was updated successfully, but these errors were encountered:
As of ~ 9eceb16 the __internal_constructor() workaround should no longer be necessary and use of it may lead to crash, this should now work correctly:
__internal_constructor()
Ref<CustomClass> ref = Ref<CustomClass>(custom_class_instance);
See #417 for more details.
Sorry, something went wrong.
Ref
No branches or pull requests
This is related to #253!
It used to be possible to instantiate a Reference in the GDNative side using:
return Ref<B>::__internal_constructor(B::_new())
now this doesn't working anymore (it compiles) but crashes when running in Godot 3.1 stable.
@karroffel (I talked with you about this some time ago.. and it was you that said to use this "snippet".. what do you suggest as alternative now?)
The text was updated successfully, but these errors were encountered: