jacksondunstan/UnityNativeScripting
Unity Scripting in C++ observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 3315
- days_rel: n/a
- days_push: 2006
- n_releases_24m: 0
Adoption not part of the score
1375 stars · 134 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A library that lets Unity developers write game scripts in native C++ (or C/assembly) instead of C#, communicating via P/Invoke bindings. It provides bindings and code generation so C++ code can act like MonoBehaviour scripts while avoiding Unity's garbage collector and IL2CPP build overhead.
Use cases
- write unity game scripts in c++
- avoid unity garbage collector frame hitches
- speed up unity build and compile times
- use simd intrinsics in unity game code
- replace c# game logic with native plugin
- hot reload c++ code in unity editor
When to choose
- you need deterministic performance without Unity's garbage collector
- slow IL2CPP build times are hurting iteration speed
- you want direct control over machine code, SIMD, or assembly in a Unity game
When to avoid
- your team is C#-only and not comfortable with C++
- you rely heavily on .NET APIs, generics, or C# ecosystem tooling
- you need long-term support or frequent updates - the project has not seen releases since 2021
Facets
library · maturity maintenance
game-engine plugin-system sdk developer-tools performance cpp c cross-platform game-engine unity il2cpp pinvoke native-plugins cpp-scripting garbage-collector-avoidance game-development
3 sources
- readme: https://github.com/jacksondunstan/UnityNativeScripting · fetched 2026-08-28 · 7b1f57f7566e
- homepage: https://jacksondunstan.com/articles/3938 · fetched 2026-08-29 · b5978d3ef2fb
- site_page: https://www.jacksondunstan.com/about · fetched 2026-08-29 · fc07314b16a1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jacksondunstan/UnityNativeScripting | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="jacksondunstan/UnityNativeScripting")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem