SIGN IN SIGN UP
bevyengine / bevy UNCLAIMED

A refreshingly simple data-driven game engine built in Rust

0 0 59 Rust

`bevy_ui_widgets` needs some dependencies (#24472)

It panicked if you started the app with DefaultPlugins, because some
resources were missing.

# Objective

Fix panic when starting the app with `bevy_ui_widgets` or
`bevy_feathers` but no `ui` feature.

Fixes #24369

## Solution

Add the needed features as feature dependencies.

The alternative would be to make `bevy_ui_widgets` work without them,
and that could be considered.
One could replace the `Res<...>` with `If<...>` for example. Downside:
silently missing capabilities.

## Testing

I compiled and ran the example from the issue.
R
Richard Braakman committed
a3600c18e5cf436bf49a9a9a5cde5316fb198733
Parent: adc18d7
Committed by GitHub <noreply@github.com> on 5/28/2026, 9:27:09 PM