I have a ComponentLookup that gets written into by one system within an IJob (JobA) which is added to state.Dependency.
There’s another system that also reads from the same ComponentLookup (readonly is true) within a SystemBase idiomatic foreach but unity throws the exception "The previously scheduled job (JobA) writes to the ComponentLookup…you must call JobHandle.Complete().
How would I manage this dependency and ensure JobA is completed before reading from the ComponentLookup in the SystemBase?