Mesh2dHandle points to no asset
repelmoine opened this issue · 1 comments
Hello,
In my project, I wanted to be able to pick shapes from bevy_prototype_lyon using bevy_mod_picking.
I'm new in bevy but I tried debugging and found that in version 0.10 the entity had an Aabb component and that the Mesh2dHandle component was associated with an asset.
Since version 0.11, there is no longer an Aabb component and Mesh2dHandle points to no asset.
I've noticed that if i modify the following line, the code works again. I don't understand what are the impacts this change might have, but it solves my problem and the shapes are pickable as the Mesh2dHandle is linked to an asset again.
bevy_prototype_lyon/src/plugin.rs
Line 132 in 0351fbd
to
RenderAssetUsages::all()
Thanks for all ❤️