// the find
Tencent/sluaunreal
lua dev plugin for unreal engine 4 or 5
A Lua scripting plugin for Unreal Engine 4/5 that lets you write game logic in Lua instead of C++, with hot-reload support for faster iteration. It exports both blueprint-reflected APIs and raw C++ bindings to Lua, supports two-way communication between Lua and Blueprint, and has been battle-tested in PUBG Mobile. Aimed at game studios that need to ship hot-fixes without recompiling C++.
CppBinding is genuinely fast — the benchmarks show ~10x over reflection for empty calls, and consistently 1.5-2x faster than the main competitor (UnLua) across the board. The Slua 2.0 override mechanism fixing struct-as-reference (Actor.Position.X = 1 instead of the old copy-modify-assign dance) is a real quality-of-life win. Multi-state Lua support and built-in CPU profiling with a remote device connection are production-grade features you'd otherwise have to build yourself. The VSCode debugger with real device support is included rather than bolted on as an afterthought.
UE version support is inconsistent — only 4.18, 4.26, and 5.1 are listed as fully supported; everything else is best-effort, which is a problem for a project that needs to track UE's active development. Last push was October 2025 but the changelog still references fixing UE 4.24 build errors, suggesting maintenance is reactive rather than proactive. Documentation is split between Chinese and English with no consistent parity — some sections exist only in Chinese, which will slow down non-Chinese teams. The libclang-based static code generation tool is a separate DLL in the repo with no source; you're trusting a precompiled binary for part of your build pipeline.