r/rust • u/MaikKlein • Sep 04 '22
Announcing Unreal Rust: A Rust integration for Unreal Engine 5
https://maikklein.github.io/unreal-rust-1/6
u/Captain-Barracuda Sep 04 '22
Insane! Really I was starting to conceptualize an UE5 game and my greatest annoyance was not being able to do it in Rust. Do you mind if people want to contribute to the project?
4
u/MaikKlein Sep 06 '22
I absolutely would love for people to contribute. I just haven't written that much documentation yet, and it might a bit hard to get started.
202
u/maximeridius Sep 04 '22
I googled "unreal engine rust" about 30mins before you posted this, didn't find much, went to have dinner and came back to find this...
190
84
u/DisasterReasonable98 Sep 04 '22
Such coincidences prove you are the only real one in this simulation. We are all just bots.
9
1
208
139
u/QualitySoftwareGuy Sep 04 '22
Very nice! I also like that in the “What is the current state?” section you actually go into detail about what to expect in the integration’s current state. A model many open source projects could take inspiration from.
52
105
96
u/cloudybyte Sep 04 '22
This seems unreal
85
u/Diskkk Sep 04 '22
I personally like the unity between unreal and rust
9
0
Sep 04 '22
[deleted]
23
20
u/_Flexinity Sep 04 '22
I was waiting for it since I've interested in gamedev + rust, like or Godot 4 + Rust or Unreal 5 + Rust , hope to see it as stable release!
0
15
u/Rockinoutt Sep 04 '22
As someone who begrudgingly picked unreal over bevy because Unreal is a more complete for game making (at least it seems that way to me), I am really excited to see this! Looking forward to a day in the future where I can just use Rust instead of C++ in Unreal. Thanks for doing this.
17
u/oceantume_ Sep 05 '22
picked unreal over bevy because Unreal is a more complete for game making (at least it seems that way to me),
If you're making a game that you want to market, bevy is an awful choice. Not just because it's not feature-complete, but also because it's still being shaped most of its APIs are subject to change with each new version.
This will change in the future, but the developers themselves suggest not to use it in production for serious projects yet.
At this point you should use Bevy for experiments or projects for which you don't mind staying on an outdated version with missing features or spending time migrating to new versions when they come out.
6
4
4
4
1
u/d202d7951df2c4b711ca Sep 05 '22 edited Sep 05 '22
Will this work with UE5? Or rather, do you foresee any blockers for this working with UE5?
Apologies if that's a dumb question, i'm very unfamiliar with UE. However UE5 specifically is so damn impressive that it's hard to ignore it.. so i had to ask.
Great work, impressive!
4
u/MaikKlein Sep 05 '22
It only works with UE5
2
u/d202d7951df2c4b711ca Sep 05 '22
Yikes, missed the title on Reddit, (was thinking it was the same title as HN). Apologies, and great work again!
1
6
3
2
u/Idles Sep 05 '22
At least the last time I used it (UE4), there wasn't a good story for built-in serialization of game objects. Which was kind of surprising because it basically needs the same reflection information as the built-in replication system for multiplayer. So I think that it makes sense to use a full-weight serialization system (serde), because you'll be able to support hot reload, but also (and maybe more importantly?) serializing saved games. And it would make it straightforward to serialize game state if you wanted to use your own networking layer.
2
2
3
2
1
-5
u/LoganDark Sep 05 '22
That's cool, but there still is no way to get UE5 as a consumer without having to install the launcher bloat and get an Epic account. :/
14
u/ThymeCypher Sep 05 '22
You can download the source and compile it directly. This is how most AAA games did it prior to the many advancements in the editor. When you see a game mentioned as being made with “a modified Unreal engine” this is what they are referring to.
2
u/LoganDark Sep 05 '22
I would but compiling on Windows is a fucking pain. I know how to get into the Epic organization to see the source code though, it's just that actually compiling the thing is a mountain of work.
0
Sep 05 '22
[deleted]
3
u/LoganDark Sep 05 '22
Referring to cognitive bloat. 150GB of space usage is fine. I have individual games that weigh more than that.
0
Sep 04 '22
[deleted]
46
41
u/Fazer2 Sep 04 '22
Make something unreal
16
u/Deadly_chef Sep 04 '22
Like an engine
6
54
u/[deleted] Sep 04 '22
This is insane! How do you even build something like this? This is a very exciting project, one of the main reasons I haven’t built anything in unreal is because of C++, looking forward to trying this out!