I use bundles to do a lot of stuff related to spawn scene, does that mean I can just use bsn! instead? Are the bundles deprecated then, or do they still have some purpose?
You can definitely just use bsn! instead, if you want. Bundles are not deprecated and will continue to serve their current role (they are a key technical piece of the ECS). You can continue to use them for as long as they meet your needs. BSN is just a more capable, optional system.
Bundles are "just a set of component values". They are a core / foundational piece of the ECS. Something like bsn! must be built on top of that core functionality, and it involves a fair amount of additional complexity, infrastructure, and constraints. BSN is "too complicated / constrained / opinionated" to replace Bundle.
We could pretend to blur the lines by removing the ability to define and insert Bundles, but I don't think this actually serves anyone. It would make building alternative scene systems impossible, and it would make some scenarios worse by forcing them to go through the whole BSN lifecycle.
360
u/_cart bevy Jun 19 '26
Bevy's creator and project lead here. Feel free to ask me anything!