Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Calling destroy in Entity update function crash the game #409

@Meoo

Description

@Meoo

Destroying an entity in update function crash the application at Scene.hx:514
The "entity in entities" iterator is invalidated when the current entity is removed from the list, causing a null exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions