Skip to content

Conversation

@ickshonpe
Copy link
Contributor

@ickshonpe ickshonpe commented Nov 17, 2025

Objective

The bevy_dev_tools crate has some UI widgets to display FPS metrics and stuff, but the bevy_dev_tools feature doesn't enable any UI features, so the UI plugins aren't added and it crashes at startup.

Fixes #21851

Solution

Enable "bevy_ui" and "bevy_ui_render" features when "bevy_dev_tools" is enabled.

Maybe the bevy_dev_tools crate needs more feature gates, or should be split up into "bevy_dev_tools" and "bevy_dev_tools_widgets" or something, eventually.

@janhohenheim janhohenheim added A-Dev-Tools Tools used to debug Bevy applications. S-Needs-Review Needs reviewer attention (from anyone!) to move forward D-Trivial Nice and easy! A great choice to get started with Bevy labels Nov 17, 2025
@atlv24 atlv24 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Dev-Tools Tools used to debug Bevy applications. D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash w/ features bevy_sprite and bevy_dev_tools w/o bevy_text

5 participants