unreal-rust: an ECS plugin for Unreal Engine 5 that its author calls a proof of concept
Rust integration for Unreal Engine 5
At a glance
- What is it?
- unreal-rust lets you write Unreal Engine 5 gameplay code in Rust through a plugin and an entity component system, with hot reloading. Its own warning says it is not ready for a real project, and the last push dates from 2026-03-07.
- Who is it for?
- Try unreal-rust if you want to experiment with Rust gameplay code inside Unreal Engine 5 on Linux or Windows and can tolerate breaking API changes. Do not build a shipping game on it: the author calls it a proof of concept, support covers only version 5.0, there is no console path, and the last push was 2026-03-07.
- Can I use it commercially?
- Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 8 months ago.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.
Star history
- MaikKlein/unreal-rust2,251 ★ · +1
| Repository | 2026-10-12 | 2026-11-26 |
|---|---|---|
| MaikKlein/unreal-rust | 2.3k | 2.3k |
1 Stars in the last 45 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The author's own warning says nothing here is ready for a real project
The README opens with a warning section. unreal-rust is in a very early state and nothing more than a proof of concept. The API will change quite frequently, things may crash or not work as intended, and the user experience will not be great. The code was put on GitHub so it can be developed in the open.
The only listed known problem is about people, not code: this is a hobby project worked on outside normal work hours, so replies to issues, questions, feature requests and pull request reviews can be slow.
The repository has no GitHub releases and the last push was 2026-03-07, which is several months before this article. Taken together, that is a project with no versioned snapshot to pin. You would track the main branch and absorb whatever breaks.
Rust components attach to AActor, so GameMode and Character are not exposed directly
unreal-rust is built on top of an entity component system, and its bridge to the engine is AActor. The README states that most gameplay features such as GameMode, Characters, GameState and GAS are not directly accessible. Instead, the project says it will provide optional alternatives, and a separate gameplay-plugins/unreal-movement crate exists in the workspace for that purpose.
The escape route is Blueprint. Rust components can be added to actors in the editor, and they can be read from Blueprint to drive animations. So engine features outside the Rust API can still be reached by going through a Blueprint that reads your component.
The consequence for a team is a split codebase. Rust holds the component data and logic, while anything that depends on GAS or the GameMode class lives in C++ or Blueprint on the other side of that boundary.
Hot reloading in editor and live play, with panics caught
Two claims make Rust more tolerable in an Unreal workflow. Iteration is described as fast, with hot reloading both in the editor and during live play. And panics are caught and do not crash the editor.
The build step that makes this possible is a plain shared library. After cargo build --release, the output is a dll on Windows or a so file on Linux, which you copy into the example project's Binaries folder under the name rustplugin.dll or rustplugin.so. The Unreal side loads that file.
A caught panic is not a fixed bug. The README warns that things may crash, so treat the panic catching as a development convenience. The README gives no detail on what state a component is left in after a panic, nor on what hot reload preserves across a reload.
Setup is a seven-step chain across git lfs, a submodule, a symlink and ue4cli
The README apologises for the number of steps. Prerequisites are Unreal Engine 5, git lfs with git lfs install run once, Rust, and optionally ue4cli, installed with pip3 install ue4cli.
git clone https://github.com/MaikKlein/unreal-rustThe submodule holds the example with its assets, so a plain clone is not enough:
cd unreal-rust
git submodule update --initThen run sh setup.sh on Linux or setup.bat on Windows. That script symlinks the RustPlugin directory into example/RustExample/Plugin. Next comes the Rust build:
cargo build --releaseCopy the library as described above. Finally, from example/RustExample:
ue4 build Development Editorand start it with ue4 run. If the symlink step fails, for example on a Windows account that cannot create symlinks, the plugin will not appear in the Unreal project.
Only Unreal Engine 5.0 is listed, with a promise to chase the latest
The supported version list contains a single entry, 5.0. The project says it will always try to support the latest version of Unreal, the latest Rust, and the latest versions of all dependencies.
That is a statement of intent. With the last push on 2026-03-07, a later Unreal 5.x release may not work, and no compatibility table in the README says which minor versions have been tried. The one thing it commits to is that the project is only a Plugin, with no engine modifications, so you drop it into your project instead of rebuilding Unreal from source.
If your studio is pinned to a particular Unreal release, run the example against that release first. A mismatch will show up at the ue4 build step, not later.
Linux and Windows only, and no console support at all
Supported platforms are Linux and Windows. iOS, macOS, Android and possibly html5 in the browser are listed as potential future platforms.
Consoles are flatly unsupported. The author gives two reasons: a closed ecosystem, and no access to developer kits. A project that targets PlayStation, Xbox or Switch cannot use this plugin for gameplay code.
The workspace in Cargo.toml has six members: unreal-api, unreal-ffi, unreal-reflect, unreal-api-derive, unreal-rust-example and gameplay-plugins/unreal-movement. The split into ffi, reflect and derive crates points to a boundary layer separate from the user-facing API, though the README does not describe what each crate does, so the source is the only guide to how reflection of Unreal types works.
Unreal Angelscript and UnrealCLR are the alternatives the README names
The README points to two other ways of scripting Unreal outside C++: Unreal Angelscript at angelscript.hazelight.se and UnrealCLR at github.com/nxrighthere/UnrealCLR. It does not compare them to unreal-rust or say what each does better.
The thank-you section credits kenney and quaternius for assets and the bevy engine. The README attributes no code from bevy, though its entity component system design is the natural reason to mention it.
Learning material is thin: an announcement post at maikklein.github.io/unreal-rust-1 and a YouTube devlog playlist. Development is described as heavily driven by samples, so the example project in the submodule is the main reference. The project is dual licensed under MIT and Apache-2.0, and the repository carries both license files.
Editorial conclusion
Try unreal-rust if you want to experiment with Rust gameplay code inside Unreal Engine 5 on Linux or Windows and can tolerate breaking API changes. Do not build a shipping game on it: the author calls it a proof of concept, support covers only version 5.0, there is no console path, and the last push was 2026-03-07. Before investing, build the bundled example and confirm it runs against the Unreal version you actually use.
Frequently asked questions
Can Unreal Engine use Rust?
Through unreal-rust, yes, as a plugin that adds Rust components to actors in Unreal Engine 5. The author calls it a proof of concept and lists version 5.0 as the supported release.
Does unreal-rust require engine modifications?
No. It is only a Plugin that you drop into your project, so there is no custom engine build.
Which platforms does unreal-rust support?
Linux and Windows. Consoles are unsupported, and iOS, macOS, Android and possibly browser html5 are listed only as potential future platforms.
Is unreal-rust ready for a production game?
No. The README says it is not ready to be used in a real project, calls it a proof of concept, and warns that the API will change frequently.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/maikklein-unreal-rust)Star history chart for your README
[](https://hysenlabs.com/projects/maikklein-unreal-rust)Was this useful?