Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Memory in Unity

Manage and optimize memory usage in Unity applications.
Read time 1 minuteLast updated 5 days ago

To ensure your application runs with no performance issues, it’s important to understand how Unity uses and allocates memory.

Topic

Description

Memory in Unity introductionUnderstand the different ways that Unity manages memory.
Managed memoryAutomatically manage the release and allocation of memory in your application.
Native memoryUnderstand how Unity controls memory in its native C++ layer.
Using unmanaged collection typesUse the unmanaged data structures in the
Unity.Collections
namespace for jobs and Burst-compiled code.

Additional resources