Skip to content

bug: export does not work on macos #7

@rparrett

Description

@rparrett

It seems that within the context of Bevy, rfd must be invoked from the main thread on this platform. rfd's docs suggest that it should work from any thread, but I just get an infinite spinning beachball unless I use this workaround.

This can be accomplished by adding a "NonSend" marker to the system parameter doing the exporting.

fn export_system(marker: NonSend<NonSendMarker>) {
}

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