Skip to content

run_system_cached does not allow usage of systems which return Result #19227

Open
@Oneirical

Description

@Oneirical

Bevy 0.16

commands.run_system_cached(my_system);
pub fn my_system(
    // SNIP
) -> Result {

This causes an error on run_system_cached, because my_system is now a system with output type Result instead of ().

This is caused by the 0.16 system Result and ? rework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-BugAn unexpected or incorrect behaviorS-Needs-ReviewNeeds reviewer attention (from anyone!) to move forward

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions