Skip to content

Remove systems from unloaded mods #20

@MarcGuiselin

Description

@MarcGuiselin

#14 introduces hot-reloading for mods and unloading. But the implementation simply deactivates outdated systems and registers new ones, which could begin to negatively affect performance after a while.

bevyengine/bevy#20298 introduces an api that allows removing systems from schedules by their sets. Since #21 wasvy injects each system into the world using a SystemIdentifier SystemSet. If these were tracked during setup, it could be possible to remove them once a new version of a mod is loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions