Rain 🚱 is a user on cybre.space. You can follow them or interact with them if you have an account anywhere in the fediverse.
Rain 🚱 @grainloom

when using engines like , and , does the final executable include modules of the engine that aren't actually used?
like, if I make a 3D game in Unity, am I still paying for the 2D physics engine?

· Web · 0 · 1

@grainloom Interesting question, I'd like an answer too.

My guess is, it depends on the engine, but in some cases yes, it does include most of the stuff in the engine. Like, there's still a lot of Unreal 1.5 inside of, say Deus Ex.

> paying
In case of Godot, paying in terms of resources, I guess.

@grainloom Depends on the engine and version. Some like Unity will load libraries dynamically, so they are referenced, but only loaded when they are actually used. It may carry the full thing in the binary installers it generates, but will not actually install everything and won't load everything into memory if the necessary libraries are already available in the target system.

@grainloom in Godot and Unreal you can make your own engine builds that omit modules but it's not automatic

@grainloom Yes. But it appears Unity is moving toward modularizing internal components to improve packaging size and performance.

Godot can theoretically be compiled without the modules you're not using.