In my EntityJob, after using EnabledRefRW<DeadTag>, I encountered an error:
InvalidOperationException: The previously scheduled job SetVisualPositionSystem:SetTransform reads from the ComponentTypeHandle<Common.DeadTag> SetTransform.safety. You are trying to schedule a new job BulletHitSystem:HitJob, which writes to the same ComponentTypeHandle<Common.DeadTag> (via HitJob.JobData.__TypeHandle.__Common_DeadTag_RW_ComponentTypeHandle). To guarantee safety, you must include SetVisualPositionSystem:SetTransform as a dependency of the newly scheduled job.
It seems to be a scheduling issue. How should I correctly set the dependencies for this EntityJob that uses EnabledRefRW<Tag>?