# Tencent/UnLua

A feature-rich, easy-learning and highly optimized Lua scripting plugin for UE.

Repository: https://github.com/Tencent/UnLua
Canonical: https://ross.abutalabs.com/products/unlua
Language: C++
License: NOASSERTION
License Family: other
Last push: 2026-04-02T13:55:00+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 75, release rhythm 8, longevity 100
- inputs: {"age_days": 2577, "days_push": 153, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2770, forks 721 (observed 2026-08-28T04:07:18.866267+00:00)

## What it is
UnLua is a highly optimized Lua scripting plugin for Unreal Engine that lets UE programmers write gameplay logic in Lua with zero learning cost. It provides direct access to UCLASS/UPROPERTY/UFUNCTION/USTRUCT/UENUM without glue code, blueprint event overriding, and engine-optimized container and struct handling.

## Use cases
- script unreal engine gameplay logic in lua
- override blueprint events and functions with lua
- hot-update game logic without rebuilding the engine
- bind input and replication events from lua
- call latent functions from lua coroutines
- expose custom c++ classes and enums to lua

## When to choose
- you need a mature, Tencent-backed Lua scripting solution for UE 4.17 through UE 5
- you want zero-glue-code access to Unreal reflection types from Lua
- you need high-performance Lua bindings with optimized parameter passing and native container access

## When to avoid
- your project does not use Unreal Engine
- you prefer a different scripting integration like Blueprint-only or Python
- you need a plugin with a permissive license for commercial redistribution without review (license is marked NOASSERTION)

## Facets
- artifact type: plugin
- maturity: active
- function: interpreter, plugin-system, developer-tools
- domain: programming-languages, cross-platform
- platform: windows, cpp
- tags: unreal-engine, lua-scripting, ue4, ue5, gameplay-scripting, hot-update, game-development, linux, macos, android, ios

## Member repositories
- Tencent/UnLua (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:18.866267+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:16:40.412309+00:00, confidence not recorded.
  - readme: https://github.com/Tencent/UnLua (fetched 2026-08-28T04:07:18.866267+00:00, sha 6879fd6e46b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
