bevy_mod_raycast
bevy_mod_raycast copied to clipboard
Panic with bevy master cf221f96
thread 'main' panicked at '$state_name<bevy_mod_raycast::bounding::BoundVol> conflicts with a previous access in this query. Shared access cannot coincide with exclusive access.'
I believe this bevy commit introduced the problem: https://github.com/bevyengine/bevy/commit/9657f58f6a84b82f508cf5f09765db3d26d139ff
~Can you provide more details from the error? Are you sure this isn't coming from your own systems?~
I was able to replicate. Problem is that the query filter for update_bound_vol() refers to the same component that is being mutably accessed in the query. Brought up in bevy discord, discussion here: https://discord.com/channels/691052431525675048/749335865876021248/833295370729029682
Can fix with a workaround for now.
This is fixed in master fyi.