eli5 They say that in programming a game, removing some arbitrary asset will inexplicably cause random bugs to pop up. Why?

318 views

Is it that during compilation, the compiler tries to compress and optimize the code in such a way that it “grows roots” into the assets (or vice versa) that if the asset is removed without proper care, the whole thing will collapse into itself? Like, the compiler realized that part of the binary code in one part of the program coincidentally is the same as a snippet of binary code in a nearby asset, so it chops code out to save space?

In: 0

7 Answers

Anonymous 0 Comments

Removing an asset is basically the same thing as removing a file. So imagine you removed some critical file that’s require to boot your computer, then your pc will crash at boot.

You are viewing 1 out of 7 answers, click here to view all answers.