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

Area2D prints an error when the node is removed from the scene tree during a mouse_entered or mouse_exited method call #52371

Open
Tracked by #45334
451507056 opened this issue Sep 3, 2021 · 1 comment

Comments

@451507056
Copy link

Godot version

3.3.3stable gdscript

System information

windows 10, gles3, gtx 1050ti

Issue description

I found a bug in Area2D. If you destroy yourself during mouse entry and click events, it will report an error.

Steps to reproduce

image

Minimal reproduction project

aaa.zip

@451507056
Copy link
Author

image
If Area2D is released before destroying the node, no more errors are reported.

@Calinou Calinou changed the title Area2D mouse event bug Area2D prints an error when the node is removed from the scene tree during a mouse_entered or mouse_exited method call Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants