<aside> 👋🏽 Nitesh & David’s CTIN 583 Deep Dive Exploration into Unity DOTS (Data Oriented Technology Stack)

</aside>

Why DOTS

This is what memory looks like in object oriented programming (standard Unity MonoBehaviors)

This is what memory looks like in object oriented programming (standard Unity MonoBehaviors)

This is what memory looks like in a DOTS project — like data is stored with like data (in Chunks) so it can be processed quickly and efficiently

This is what memory looks like in a DOTS project — like data is stored with like data (in Chunks) so it can be processed quickly and efficiently


Overview of the architecture

If you understand Lambda expressions you are smarter than we

If you understand Lambda expressions you are smarter than we


Using DOTS

Here is the same code spawning 25 cubes per frame without issue on a more modern laptop. We were able to run this continuously without despawning any of the cubes with only the slightest slowdown even with upwards of 35,000 entities active at one time.

Here is the same code spawning 25 cubes per frame without issue on a more modern laptop. We were able to run this continuously without despawning any of the cubes with only the slightest slowdown even with upwards of 35,000 entities active at one time.

Entity Debugger showing off the amount of entities being generated as well as the various physics systems being applied to each one. (Updated since Entities .050)

Entity Debugger showing off the amount of entities being generated as well as the various physics systems being applied to each one. (Updated since Entities .050)