hadashiA/VContainer
The extra fast, minimum code size, GC-free DI (Dependency Injection) library running on Unity Game Engine. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 90
- Release rhythm 91
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 30.0
- age_days: 2283
- days_rel: 63
- days_push: 64
- n_releases_24m: 9
Adoption not part of the score
3042 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
VContainer is a fast, GC-allocation-free dependency injection (DI) container library for the Unity Game Engine, written in C#. It offers constructor/method/property injection, flexible lifetime scoping, plain C# entry points via Unity's PlayerLoopSystem, and integrations with UniTask, UniRx, MessagePipe, and Unity ECS.
Use cases
- set up dependency injection in a Unity game project
- replace Zenject with a faster DI container for Unity
- decouple domain logic from MonoBehaviour in Unity
- inject dependencies into plain C# classes with Unity player loop scheduling
- manage nested lifetime scopes for scenes and async flows
- use async entry points with UniTask in Unity
- inject dependencies into Unity ECS systems
When to choose
- you are building a Unity game or app and want fast, allocation-free DI
- you need plain C# entry points instead of MonoBehaviour-heavy control flow
- performance and GC pressure matter (e.g., mobile or VR titles)
- you want flexible nested lifetime scopes tied to scene lifecycles
When to avoid
- your project is not Unity-based (use a general .NET DI container instead)
- you need a DI container for server-side or non-game .NET applications
- you rely on features VContainer deliberately omits to keep the API simple
Facets
library · maturity active
middleware developer-tools developer-tools cross-platform game-engine cross-platform unity dependency-injection ioc-container gc-free performance csharp unitask ecs game-development
10 sources
- readme: https://github.com/hadashiA/VContainer · fetched 2026-08-28 · 7473436ec5cb
- homepage: https://vcontainer.hadashikick.jp · fetched 2026-08-29 · 2d1ab8efd493
- site_page: https://vcontainer.hadashikick.jp/getting-started/installation · fetched 2026-08-29 · 8801020236f2
- site_page: https://vcontainer.hadashikick.jp/about/what-is-di · fetched 2026-08-29 · 998fd30bd0f8
- site_page: https://vcontainer.hadashikick.jp/getting-started/hello-world · fetched 2026-08-29 · 06deb47ffb9a
- site_page: https://vcontainer.hadashikick.jp/integrations/entrypoint · fetched 2026-08-29 · 3a2ebdcb7898
- site_page: https://vcontainer.hadashikick.jp/integrations/unitask · fetched 2026-08-29 · 3a824dbbe472
- site_page: https://vcontainer.hadashikick.jp/integrations/unirx · fetched 2026-08-29 · 9c792397222a
- site_page: https://vcontainer.hadashikick.jp/integrations/messagepipe · fetched 2026-08-29 · 56d24b2c38af
- site_page: https://vcontainer.hadashikick.jp/integrations/ecs · fetched 2026-08-29 · 3c2bbd70d0ce
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hadashiA/VContainer | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="hadashiA/VContainer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem