Get the latest tech news

Deleting multiplayer from the Unreal engine can save memory


Although the title of this article might suggest otherwise, I don’t dislike Unreal’s multiplayer features. As someone who has worked on two different multiplayer games in Unreal, I enjo…

Suddenly the idea of removing some multiplayer features from the engine to save memory didn’t seem bad anymore. My first idea was to exclude all these members via a preprocessor macro, so that I could switch back and forth between a multiplayer and singleplayer build configuration: I really liked this approach when I tried it, especially since it was consistent to similar Macros like UE_SERVER that Unreal already uses to compile UI stuff out of dedicated server builds.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Memory

Memory

Photo of multiplayer

multiplayer

Photo of unreal engine

unreal engine

Related news:

News photo

SpacetimeDB v1.0: Multiplayer at the speed of light

News photo

Ferron – A fast, memory-safe web server written in Rust

News photo

FromSoftware's focus hasn't shifted to multiplayer, Miyazaki says, despite Elden Ring: Nightreign and The Duskbloods