Entity Component System Samples is a collection of sample projects demonstrating the Data-Oriented Technology Stack (DOTS) in Unity.
The samples address the challenge of learning and implementing high-performance game development using Unity's entity component system architecture. The approach works by providing concrete, runnable projects that cover the Job System for parallel processing, the Entities package for data-oriented design, Physics simulation, networked gameplay through Netcode, and graphics rendering. Each sample isolates specific functionality, allowing developers to study individual concepts before combining them into larger systems.
Developers new to DOTS should start with the 101 introductory materials, which include guided documents, sample projects, and video walkthroughs covering the Job System, Entities fundamentals, Physics, and Netcode. The samples range from simple HelloCube demonstrations to more complex projects like Kickball and Firefighters that show state management and gameplay patterns. This collection suits teams building performance-critical games or simulations where data-oriented design and SIMD vectorization matter, particularly those targeting multicore processors. The samples also cover specialized areas including UI Toolkit integration in an ECS context and content management workflows.
The project maintains active development with regular updates to align with current package releases. The repository includes comprehensive documentation through linked Google Docs, embedded video tutorials ranging from short concept explanations to extended walkthroughs, and organized sample code across multiple subdirectories. The samples cover a broad spectrum of DOTS functionality rather than focusing narrowly on a single feature, and the inclusion of both introductory 101 materials and advanced examples suggests an intent to serve developers at different experience levels with the technology stack.