· 5 min read
Fixing GC Allocation Spikes in Unity with a Queue-Based Object Pool
Why Instantiate/Destroy caused frame spikes in my Unity thesis project, how a Queue-based pool and a static PoolManager fixed it, and the trade-offs that came with that design.
Unity C# Object Pooling GC Allocation Endless Runner Game Performance
Read