Skip to content

duplicate preregistration for type bevy_render::texture::image::Image #11881

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

Closed
doonv opened this issue Feb 15, 2024 · 2 comments
Closed

duplicate preregistration for type bevy_render::texture::image::Image #11881

doonv opened this issue Feb 15, 2024 · 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
Milestone

Comments

@doonv
Copy link
Contributor

doonv commented Feb 15, 2024

Bevy version

main (dd619a1)

What you did

use bevy::prelude::*;

fn main() {
    App::new().add_plugins(DefaultPlugins).run();
}

What went wrong

There was a log message: INFO bevy_asset::server::loaders: duplicate preregistration for type `bevy_render::texture::image::Image`. This is caused by #11644 (see #11644 (comment)). And while it appears to be intentional after reading about #11644, having a warning-like message appear every time you use DefaultPlugins makes it look like a bug, this should be fixed.

Additionally the log level of the message should be changed to WARN.

@doonv doonv added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 15, 2024
@rparrett
Copy link
Contributor

Would be fixed by #11870

@rparrett rparrett added A-Assets Load files from disk to use for things like images, models, and sounds and removed S-Needs-Triage This issue needs to be labelled labels Feb 15, 2024
@mockersf mockersf added this to the 0.13 milestone Feb 16, 2024
@doonv
Copy link
Contributor Author

doonv commented Feb 16, 2024

Fixed by #11870

@doonv doonv closed this as completed Feb 16, 2024
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
Projects
None yet
Development

No branches or pull requests

3 participants