12

I'm not a game dev so please forgive me if this is the wrong place for this type of question but I'm looking for some resources to try and understand why games take so long to compile.

For context, I've worked with former game devs who've mentioned that builds can take anywhere from 4 to 6 hours to complete - even with a distributed architecture - depending on the hardware. That shit blew my mind. They said it has something to do with compiling shader permutations but didn't go into anyore detail. That said, I have a very primitive understanding of what shaders are but I mostly work with infrastructure and optimizing build systems.

Like I said, I'm not a game dev, im just curious. I appreciate any insight or resources you throw my way. Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] savvywolf@pawb.social 3 points 1 week ago

Worth noting: That 4 to 6 hour number is probably for a build from scratch. A good build system will be able to only recompile things that have changed and so the develop -> compile -> test cycle is usually much faster.

[-] WhosMansIsThis@lemmy.world 1 points 1 week ago

Ahh yeah that makes sense. That'd be a pain in the ass if it was for every build.

For a standard UE 4 or 5 game, 4 to 6 hours is normal time for iterative cook builds. If you lose your cook your are fucked and have to wait 20 hours. And that would involve incredibuild to get more than 100 cores during the compile.

this post was submitted on 11 Mar 2026
12 points (100.0% liked)

Game Development

6001 readers
4 users here now

Welcome to the game development community! This is a place to talk about and post anything related to the field of game development.

Community Wiki

founded 2 years ago
MODERATORS