-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Better error message when render is used without wgpu. #626
Comments
Seems like a good point. Developer experience should definitely be a top priority. Thanks for the suggestion. Do you have a suggested implementation for this feature? |
See also #622 |
@GabLotus I don't actually know how bevy works at all, so no. Also, it seems that |
It uses the bevy/crates/bevy_core/src/lib.rs Lines 36 to 38 in 9a4167e
The high-level runner is in |
I think there should be a better error message when the render plugin is used without wgpu. The current error message is very unhelpful (see below), and could be improved.
I would suggest panicking with an error message like "Render backend not found. Currently, the render plugin needs the wgpu plugin to be supported; maybe that should be enabled?"
The text was updated successfully, but these errors were encountered: