You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not 100% sure this is caused by bevy_xpbd but I think it's possible.
In the game I'm developing, I'm spawning enemies and despawning them when certain things happen. One such case is when the game ends. Occasionally, my game is crashing with:
error[B0003]: Could not insert a bundle (of type `bevy_render::primitives::Aabb`) for entity ENTITY_ID because it doesn't exist in this World.
Can bevy_xpbd be the cause of it? I'm not touching Aabb at all, I don't think any of the libraries I use do that either (or maybe they do, like I said, I'm not sure).
What I think could be happening is that:
I'm spawning things
Before the next physics step, I despawn them
bevy_xpbd thinks the entities still exist and it tries to modify them
Bevy crashes because of it
Please let me know if this can be the case, or something else might be happening.
Hi! bevy_xpbd doesn't use Bevy's own AABB type at the moment, so this seems unrelated to me... It does insert components and such, but I don't see how that would cause this panic.
I'm not 100% sure this is caused by bevy_xpbd but I think it's possible.
In the game I'm developing, I'm spawning enemies and despawning them when certain things happen. One such case is when the game ends. Occasionally, my game is crashing with:
Can
bevy_xpbd
be the cause of it? I'm not touchingAabb
at all, I don't think any of the libraries I use do that either (or maybe they do, like I said, I'm not sure).What I think could be happening is that:
Please let me know if this can be the case, or something else might be happening.
Thanks!
(here is the branch where I've encountered the issue lately: https://github.com/umut-sahin/mythmallow/tree/multiple-weapons)
The text was updated successfully, but these errors were encountered: