Skip to content

Support Bevy 0.19 - #119

Merged
makspll merged 2 commits into
makspll:mainfrom
Tastyfish:bevy-19
Jul 29, 2026
Merged

Support Bevy 0.19#119
makspll merged 2 commits into
makspll:mainfrom
Tastyfish:bevy-19

Conversation

@Tastyfish

Copy link
Copy Markdown
Contributor

This turned out to mainly be updating the EGUI side of things due to bevy_egui bumping the version.

I bumped this crate's version to 0.18.0. Feel free to remove that change or change it to something else of course; I'm not sure what system you're using.

EGUI changes

The EGUI changes mostly follow the various struct and method renaming in EGUI 0.34 and 0.35.

Bevy Changes

On the Bevy side of things, I have a couple of notes:

SystemParam::get_param()

SystemParam::get_param() now returns a Result. I didn't make much use of it beyond bubbling up the inner calls to get_param(), though the find_map loop could bubble up its errors now instead. That would result in a change of behavior, so I didn't do that.

Commands deriving Resource

Commands previously derived Resource, though #[derive(Resource)] now performs component registration internally, which can't be reproduced without actually adding the derive to every command. However, it also appears that commands didn't need to derive Resource anyway, just Send + Sync + 'static to work with SystemParams. As such, I just removed the old manual impl Resource.

Testing

I ran all 6 examples on Windows; they appear to still function as they did before. If someone wants to test Linux, feel free; I don't currently have a WSL instance on my machine.

@makspll
makspll merged commit eb45918 into makspll:main Jul 29, 2026
2 checks passed
@Tastyfish
Tastyfish deleted the bevy-19 branch July 29, 2026 16:52
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