Uploaded October 2025 | Updated September 2026, 2 weeks ago
Unlock simpler, faster Dependency Injection in Unity with the KISS principle ("Keep It Simple, Stupid"). In this episode, Ruben Torres Bonet breaks down why SRP (Single Responsibility Principle) matters, how DI actually works in plain language, and why most DI frameworks feel like overkill when a tiny, readable injector will do.
What you’ll learn:
* Why "finding references" isn’t your class’s job (SRP in practice)
* The two real jobs of DI: bind services and inject them where needed
* How a one-file injector (under 150 lines) can replace heavyweight frameworks
* Practical patterns for testability (mocks/fakes) and cleaner code
* Anti-patterns to avoid: singletons everywhere, FindObjectOfType, GetComponent inside business logic
Resources mentioned:
Unity Performance Taskforce — Module 2021.10 (KISS DI system, examples, live Q&A): PerformanceTaskforce.com
If this helped:
* Subscribe for more Unity performance deep dives
* Drop your DI questions in the comments
* Share this with a teammate who keeps grabbing singletons 😉
#Unity #DependencyInjection #Unity3D #GameDev #CleanArchitecture #SRP #Zenject #Testing #Refactoring #Performance
Unlock simpler, faster Dependency Injection in Unity with the KISS principle ("Keep It Simple, Stupid"). In this episode, Ruben Torres Bonet breaks down why SRP (Single Responsibility Principle) matters, how DI actually works in plain language, and why most DI frameworks feel like overkill when a tiny, readable injector will do.
What you’ll learn:
* Why "finding references" isn’t your class’s job (SRP in practice)
* The two real jobs of DI: bind services and inject them where needed
* How a one-file injector (under 150 lines) can replace heavyweight frameworks
* Practical patterns for testability (mocks/fakes) and cleaner code
* Anti-patterns to avoid: singletons everywhere, FindObjectOfType, GetComponent inside business logic
Resources mentioned:
Unity Performance Taskforce — Module 2021.10 (KISS DI system, examples, live Q&A): PerformanceTaskforce.com
If this helped:
* Subscribe for more Unity performance deep dives
* Drop your DI questions in the comments
* Share this with a teammate who keeps grabbing singletons 😉
#Unity #DependencyInjection #Unity3D #GameDev #CleanArchitecture #SRP #Zenject #Testing #Refactoring #Performance










