Posts
All the articles I've posted.
Incremental GC in Unity: Does It Truly Eliminate Frame Drops and Stutter?
Enabling Incremental GC splits sweep phases into slices, yet gameplay still stutters: The limits of time slicing, allocation pacing spikes, and why zero-alloc design remains essential.
1 KB Per Frame, 3.6 MB Per Minute at 60 FPS: How Much Memory Are Your Strings Trashing?
Allocating 1KB per frame seems harmless until 60 FPS piles up megabytes of garbage: The StringBuilder.ToString() UI trap and zero-alloc string formatting techniques.
Using Structs to Avoid GC Alloc: Are We Actually Flooding the Profiler with Hidden Garbage?
Switching from Class to Struct to avoid GC spikes often triggers hidden boxing allocations: Interface casting traps, virtual dispatch pitfalls, and zero-alloc generic constraints in C#.
Reflections on AI in Game Development (Part 2): The Gatekeeping Trap and Professional Pride
Why seasoned engineers felt resentful watching newcomers build games effortlessly: Unpacking technical defensiveness, professional gatekeeping, and redefining engineering value in the AI era.
No 'new' Keyword in Code, Yet Profiler Reports GC Alloc: Dissecting 4 Hidden Allocation Traps in Unity
Zero 'new' keywords in code yet Profiler reports constant GC Allocations: 4 hidden heap culprits—struct boxing, lambda closures, LINQ execution, and string formatting—with zero-alloc solutions.
Update Allocating Tens of KBs Per Frame: How to Pinpoint the Culprit Code in Unity?
Update loops allocating dozens of kilobytes per frame with the exact line unknown: A 3-step diagnosis workflow using Unity Profiler, Deep Profile, and Memory Profiler.