Skip to content

GDExtension cast_to issue #5738

Open
Open
@hakuhan

Description

@hakuhan

Your Godot version:
alpha 5
Issue description:
when I use "cast_to" function to check parent type and it always return true when current parent is node. I test it at function "_get_configuration_warning" and I fond parent warning not working. I replace "cast_to" with "dynamic_cast" then my warning works.
URL to the documentation page:

If you know how to fix the issue you are reporting please
consider opening a pull request. We provide a tutorial on
using git here: https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html,
writing documentation at https://docs.godotengine.org/en/stable/community/contributing/docs_writing_guidelines.html
and contributing to the class reference here: https://docs.godotengine.org/en/stable/community/contributing/updating_the_class_reference.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositorybugtopic:gdextension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions