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

Error stopping a scene when one game object destroys another #7045

Open
samme opened this issue Feb 16, 2025 · 0 comments
Open

Error stopping a scene when one game object destroys another #7045

samme opened this issue Feb 16, 2025 · 0 comments

Comments

@samme
Copy link
Contributor

samme commented Feb 16, 2025

Version

  • Phaser Version: 3.88.0 to 3.88.2

Description

Create some game objects. Add a "destroy" event handler to one that destroys a previous one. Stop the scene.

[Error] TypeError: undefined is not an object (evaluating 'list[i].destroy')

Example Test Code

https://phaser.io/sandbox/MqGX6cxf

Additional Information

Cause is 649e217.

I think this issue is the same as #5520 in v3.55.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant