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
Bevy panics when spawning entities inside a system with a component that is used in multiple other for-each systems, where at least one of the systems takes a Mut version of the component.
The problem statement is very specific, but doing any of these fixes the issue:
Changing either or both of the systems that take Velocity into Query systems.
Removing either of the systems that use Velocity.
Changing acceleration_system to take a non-Mut reference.
Spawning the projectile entities in a startup system instead.
Spawning a single projectile entity in setup alongside the emitter? 🤷♂️
Bevy panics when spawning entities inside a system with a component that is used in multiple other for-each systems, where at least one of the systems takes a
Mut
version of the component.The problem statement is very specific, but doing any of these fixes the issue:
Velocity
intoQuery
systems.Velocity
.acceleration_system
to take a non-Mut
reference.setup
alongside the emitter? 🤷♂️Minimal Repro
Error
Minimal repro project containing full error: https://github.com/zerovolts/bevy-borrow-panic
The text was updated successfully, but these errors were encountered: