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

Feature debug_asset_server causes freeze/infinite loop on startup #7563

Closed
JMS55 opened this issue Feb 8, 2023 · 2 comments
Closed

Feature debug_asset_server causes freeze/infinite loop on startup #7563

JMS55 opened this issue Feb 8, 2023 · 2 comments
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior C-Startup A crash that occurs when first attempting to run a Bevy app
Milestone

Comments

@JMS55
Copy link
Contributor

JMS55 commented Feb 8, 2023

Bevy version 978f7cd.

@JMS55 JMS55 added C-Bug An unexpected or incorrect behavior A-ECS Entities, components, systems, and events A-Assets Load files from disk to use for things like images, models, and sounds C-Startup A crash that occurs when first attempting to run a Bevy app labels Feb 8, 2023
@JMS55 JMS55 added this to the 0.10 milestone Feb 8, 2023
@JMS55 JMS55 removed the A-ECS Entities, components, systems, and events label Feb 8, 2023
@hymm
Copy link
Contributor

hymm commented Feb 8, 2023

Something is wrong with nesting multithreaded schedules. I was able to workaround the issue with

debug_asset_app
    .edit_schedule(CoreSchedule::Main, |schedule| {
        schedule.set_executor_kind(ExecutorKind::SingleThreaded);
    })
    .edit_schedule(CoreSchedule::Startup, |schedule| {
        schedule.set_executor_kind(ExecutorKind::SingleThreaded);
    });

@james7132
Copy link
Member

This is fixed as of #7825.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Bug An unexpected or incorrect behavior C-Startup A crash that occurs when first attempting to run a Bevy app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants