Chapter 7. Masterful Memory Management

Using memory properly within the Unity Engine requires a good amount of understanding of the underlying Unity Engine and Mono Framework. This can be a bit of an intimidating place for some developers, since many picked Unity as their solution primarily to avoid the kind of low-level grunt work that comes from engine development and memory management. They would prefer instead to focus on higher-level concerns related to gameplay implementation, level design, and art asset management.

Many games of limited scope can get away with focusing on such higher-level concerns, at the cost of wasted resources, and may never run into any problems related to memory. This is all well and good until the day it becomes a ...

Get Unity 5 Game Optimization now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.