Back to Writing
NOTESunityjob-systemnative-arraymemory-managementperformance
Unity Job System — NativeArray Allocator Types
January 12, 2020•Updated Feb 17, 2026
When working with the Unity Job System, you will almost inevitably end up using NativeArray.
However, when creating this native container and allocating it in memory, there are 5 types of allocators you can use.
The most commonly used type for general users is Allocator.TempJob, which is suitable for allocations with a lifetime of less than 4 frames.