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_sprite: fail early on missing RenderPlugin #6925

Conversation

SpecificProtagonist
Copy link
Contributor

Panic when inserting SpritePlugin and there is no RenderPlugin, panic instead of failing silently.

Didn't do this as just a error log message as bevy_sprite panics later on due to missing assets.

#69 requests a general solution to this.

@mockersf
Copy link
Member

If I remember correctly not panicking is necessary in headless mode. The RenderPlugin can be added without creating a RenderApp.

@SpecificProtagonist
Copy link
Contributor Author

Ah, sorry. Did some tests but missed that.

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

Successfully merging this pull request may close these issues.

2 participants