ijobentity-parallel-job
CommunityRun per-entity DOTS work in parallel.
System Documentation
What problem does it solve?
It eliminates the tedium and performance pitfalls of writing per-entity processing loops by providing a safe, Burst-compatible parallel pattern that integrates with DOTS scheduling.
Core Features & Use Cases
- Source-generated per-entity jobs (IJobEntity): Derives the job query from your Execute method signature to automatically match entities with the right components.
- Thread-parallel scheduling (ScheduleParallel): Executes work across worker threads while correctly participating in the Dependency chain.
- Burst-friendly data flow: Encourages clear read/write intent via
in/refparameters and optional query filters using attributes.
Use case: Applying velocity updates to many entities every frame in a production simulation where the work is independent per entity and benefits from Burst and parallelism.
Quick Start
Add a Burst-compiled partial struct implementing IJobEntity with an Execute signature that takes your components, then schedule it with ScheduleParallel and assign the result back to state.Dependency in your system’s OnUpdate.
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: ijobentity-parallel-job Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#ijobentity-parallel-job 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.