# Code reload and assembly load context leaks

> Solve an issue where the Unity Editor reports leaked objects after a code reload and keeps your unloaded script assemblies in memory.

As you develop and iterate, the Unity Editor automatically reloads your project code as necessary to incorporate changes you make.

It's important to understand how code reload works to avoid issues such as code reload leaks, which can cause memory leaks and other problems in your project.

| Topic                                                                                                                                                                       | Description                                                                                                                                                         |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **[Introduction to assembly load context leaks](/engine/7000.0/manual/programming-environment/code-reload-serialization/code-reload/code-reload-leaks/alc-leak-intro.md)**  | Understand how code reload works in the Unity Editor, the role of `AssemblyLoadContext` instances, and the meaning and significance of `AssemblyLoadContext` leaks. |
| **[Assembly load context leak report reference](/engine/7000.0/manual/programming-environment/code-reload-serialization/code-reload/code-reload-leaks/alc-leak-report.md)** | Understand and interpret the assembly load context leak report file.                                                                                                |
| **[Diagnose and fix assembly load context leaks](/engine/7000.0/manual/programming-environment/code-reload-serialization/code-reload/code-reload-leaks/alc-leak-fixes.md)** | Diagnose and fix code assembly load context leaks.                                                                                                                  |

## Additional resources

* [Code reload and the code lifecycle](/engine/7000.0/manual/programming-environment/code-reload-serialization/code-reload/code-lifecycle.md)
* [Script compilation](/engine/7000.0/manual/programming-environment/script-compilation.md)
* [Configuring how Unity enters Play mode](/engine/7000.0/manual/programming-environment/code-reload-serialization/code-reload/code-reloading-editor/configurable-enter-play-mode.md)
* [Scripting back ends](/engine/7000.0/manual/programming-environment/scripting-backends.md)
