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

bevy_asset_loader not working without the multi-threaded feature but shows no errors or warnings #206

Open
AntonZelenin opened this issue Mar 26, 2024 · 1 comment

Comments

@AntonZelenin
Copy link

If the "multi-threaded" feature is not enabled, the project will work, but sprites that are loaded using bevy_asset_loader will not be rendered. Additionally, you won't be able to render them using AssetServer as well. But there are no warnings or errors and I didn't find any mention of it in docs or issues.
This issue is very unobvious and was hard to debug, so I think it would be nice to have some warning about it.

Here's a minimal example to reproduce
https://github.com/AntonZelenin/test_asset

If you run it, the screen will be empty. If you uncomment the line texture: asset_server.load("torch.png"), it won't work as well. If you go to Cargo.toml and uncomment the "multi-threaded" feature, both variants will work fine.

Btw, I'm using Windows 10 if that matters.

@NiklasEi
Copy link
Owner

NiklasEi commented Apr 13, 2024

Thank you for raising this! I could reproduce the issue without bevy_asset_loader and opened bevyengine/bevy#12951 for it.

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

2 participants