Our great sponsors
-
VContainer
The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
As of 2023, lots of DI frameworks are available for Unity. I picked VContainer as it is still actively maintained and “promotes” itself as 5 to 10 times faster than Zenject. Plus, it integrates really well with popular libraries like UniRx or UniTask.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Singleton vs Dependency Injection vs Service Locator vs Scriptable Objects
- I've been a Unity Dev for over 10 years. I recently joined this project that has some seasoned Unity vets but the player object looks like this. I know it mostly comes down to design patterns / choices, but does this seems like an excessive amount of components on one object?
- RigidBody variable names alignment chart
- Dependency Injection Framework
- Methods of object interaction in Unity. How to work with patterns and connections in your code