Skip to content

Crash when using Ref<InputEvent> #1100

@redsett

Description

@redsett

Platform = Windows
Godot version = 4.0.2-stable
godot-cpp version = feaba55

Issue:
I'm trying to override _unhandled_input, but it crashes when trying to resolve the Ref<>.
void _unhandled_input(const Ref<InputEvent> &p_event) override { }

image

Reverting this commit fixes it. But I'm sure that something else breaks. :)
feaba55

@zhehangd @akien-mga

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis has been identified as a bugcrashtopic:gdextensionThis relates to the new Godot 4 extension implementation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions