Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Native memory

Understand how Unity controls memory in its native C++ layer.
Read time 1 minuteLast updated 10 days ago

The Unity engine’s internal C/C++ core has its own memory management system, which is referred to as native memory. In most situations, you can't directly access or modify this memory type, but you can customize some of the memory allocators.

Topic

Description

Native memory introductionUnderstand how Unity's internal processes use memory.
Native memory allocatorsUnderstand the different types of allocators Unity uses to allocate memory.
Customizing native memory allocatorsCustomize the allocator types with the Editor or command line.
Native memory allocators referenceReference for native memory allocator settings
Native memory allocator examplesRefer to these native memory allocator examples for common issues.

Additional resources