Skip to content

Custom reference class instantiation from within other GDNative classs stopped working #274

@xDGameStudios

Description

@xDGameStudios

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions