Skip to content

RemovedComponents doesn't work in FixedUpdate #16520

Open
@mirsella

Description

@mirsella

hello

Bevy version

0.14.2

What you did

have a system remove a Component in an Update system.
use a RemovedComponents in a FixedUpdate system.

What went wrong

RemovedComponents.read() doesn't return any entities

Additional information

it works by just moving the system from FixedUpdate to Update

there has been an issue about events not working in FixedUpdate #7691 fixed in this PR #10077. someone has talked about it in the pr and issue. here is a comment about it in the pr #10077 (comment).

if making events like RemovedComponents works in FixedUpdate too much of a drawback, i think there should be a clear indication on the docs, and even better, a bevy warning about it, since now it just silently fails.

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsA-TimeInvolves time keeping and reportingC-BugAn unexpected or incorrect behaviorS-Needs-DesignThis issue requires design work to think about how it would best be accomplished

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions