The job system works best when you use it with the Burst compiler. Because Burst doesn’t support managed objects, you need to use unmanaged types to access the data in jobs. You can do this with blittable types, or use Unity’s built-in NativeContainer
objects.
Topic | Description |
---|---|
Introduction to NativeContainer | Understand Unity’s custom thread-safe type, NativeContainer . |
Implement a custom NativeContainer | Implement custom native containers. |
Copying NativeContainer structures | Copy and reference multiple native containers. |
Custom NativeContainer example | Use a real world custom NativeContainer example. |