Skip to content

Crash when trying to call virtual method without return value #1403

Closed

Description

@bearman92

Godot version

4.3 dev 4

godot-cpp version

4.3 dev 4

System information

Windows 11

Issue description

Engine crashes when trying to call virtual method without return value.
In engine:
https://github.com/godotengine/godot/blob/f2045ba822bff7d34964901393581a3117c394a9/core/extension/gdextension_interface.cpp#L1214
image

Steps to reproduce

  1. Declare virtual method without return value
    GDVIRTUAL0(_do_something_virtual_without_return);
  2. Call virtual method
    GDVIRTUAL_CALL(_do_something_virtual_without_return);

Minimal reproduction project

461aeaf

Activity

  1. added
    bug
    topic:buildsystem
    on Mar 5, 2024
  2. added this to the 4.3 milestone on Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcrashtopic:buildsystem

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions