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 7 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.
C# unmanaged memoryControl how memory is allocated to native containers.

Additional resources