Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: export does not work on macos #7

Open
rparrett opened this issue Aug 23, 2024 · 0 comments
Open

bug: export does not work on macos #7

rparrett opened this issue Aug 23, 2024 · 0 comments

Comments

@rparrett
Copy link
Contributor

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>) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant