job-dependency-chain
CommunityChain ECS job dependencies safely for each frame.
System Documentation
What problem does it solve?
Prevents data races and non-deterministic behavior by ensuring every scheduled Unity ECS job participates in the correct dependency chain through state.Dependency.
Core Features & Use Cases
- Automatic read/write ordering: Enforces correct sequencing between systems by wiring scheduled JobHandles into the ECS scheduler via state.Dependency.
- Reliable job chaining: Supports both parallel and sequential job patterns by passing state.Dependency into each Schedule/ScheduleParallel call and assigning the returned handle back.
- Controlled synchronization: Limits state.Dependency.Complete() to only the cases where main-thread results are required in the same frame.
Use case: When you schedule multiple IJobEntity or IJobChunk jobs across one system (e.g., a Prepare job then a Consume job), this Skill ensures Consume runs only after Prepare finishes and that downstream systems observe the correct completion dependency.
Quick Start
Update every job schedule call in your OnUpdate to accept the current state.Dependency and assign the returned JobHandle back to state.Dependency.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: job-dependency-chain Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#job-dependency-chain Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.