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 panicked, although the queries are disjoint and therefore not ambiguous:
thread 'main' panicked at C:\Users\Jannik\.cargo\registry\src\index.crates.io-6f17d22bba15001f\bevy_ecs-0.12.1\src\schedule\schedule.rs:290:33:
Error when initializing schedule MySchedule: Systems with conflicting access have indeterminate run order.
1 pairs of systems with conflicting data access have indeterminate execution order. Consider adding `before`, `after`, or `ambiguous_with` relationships between these:
-- b and a
conflict on: ["debug_tick_schedule::Shared"]
Additional information
Looking a little bit into the code, I noticed bevy has both Access<T> and FilteredAccess<T> to check for conflicts. But it seems it only uses only the Access<T> to check for conflicts here:
Bevy version
0.12.1
What you did
Use a custom schedule with
ambiguity_detection
set toLogLevel::Error
. Insert two systems that are disjoint by usingWithout<T>
.What went wrong
bevy panicked, although the queries are disjoint and therefore not ambiguous:
Additional information
Looking a little bit into the code, I noticed bevy has both
Access<T>
andFilteredAccess<T>
to check for conflicts. But it seems it only uses only theAccess<T>
to check for conflicts here:bevy/crates/bevy_ecs/src/schedule/schedule.rs
Lines 1321 to 1339 in f4dab8a
I don't know if this is just an oversight or if there's a good reason for it....
The text was updated successfully, but these errors were encountered: