Skip to content

Window hangs, refuses to close with a NonSend/NonSendMut system parameter in the render_app #12912

@simbleau

Description

@simbleau

Bevy version

v0.13.2

[Optional] Relevant system information

This took forever to find, but simply having a system that has a
fn ...(x: NonSend(_)) {}

added to the render app with default plugins will cause an infinite hang when you try to close the window. Not sure why.

We encountered this in the bevy_vello demo, if ran on native platforms.

The line specifically is:
https://github.com/loopystudios/bevy_vello/blob/dcf1584ead46ad19ff72d7f34110e00f415263f9/src/render/systems.rs#L60

This has been tested and verified on both MacOS and Windows.

It applies to both NonSend and NonSendMut

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsA-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorD-ComplexQuite challenging from either a design or technical perspective. Ask for help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions