ijobchunk-chunk-job
CommunityUpdate DOTS entities per chunk with precision
Software Engineering#burst#parallel-scheduling#unity-dots#ijobchunk#ecsshunks#enabled-mask#change-filtering
AuthordyCuong03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the need to process ECS entities with maximum control at the chunk level, where you must handle chunk change filtering, enabled masks, and deterministic access patterns safely and efficiently.
Core Features & Use Cases
- Chunk-level change filtering: Use chunk.DidChange(ref typeHandle, lastSystemVersion) to skip unchanged chunks and reduce work in sparse-update scenarios.
- Enabled mask handling: Correctly respect IEnableableComponent by considering useEnabledMask and chunkEnabledMask when entities may be disabled.
- High-throughput data access: Drive performance-critical pipelines by using direct component access patterns (e.g., GetNativeArray or required data pointers) and managing explicit sort keys/state dependencies.
- Use case: Updating LocalTransform using Velocity only when Velocity changed, while ensuring the job schedules correctly with state.Dependency to avoid races.
Quick Start
Schedule a Burst-compiled IJobChunk that checks chunk.DidChange for your read components, then iterate the chunk arrays (or use required pointers) to apply your updates and return the chained 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: ijobchunk-chunk-job Download link: https://github.com/dyCuong03/unity-agent-team/archive/main.zip#ijobchunk-chunk-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.