Skip to content
New issue

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

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

Closed
bearman92 opened this issue Mar 4, 2024 · 0 comments · Fixed by #1404
Closed

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

bearman92 opened this issue Mar 4, 2024 · 0 comments · Fixed by #1404
Labels
bug This has been identified as a bug crash topic:buildsystem Related to the buildsystem or CI setup
Milestone

Comments

@bearman92
Copy link
Contributor

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

@AThousandShips AThousandShips added bug This has been identified as a bug crash topic:buildsystem Related to the buildsystem or CI setup labels Mar 5, 2024
@AThousandShips AThousandShips added this to the 4.3 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This has been identified as a bug crash topic:buildsystem Related to the buildsystem or CI setup
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants