Daily Play
A column every morning: how games get built, and the shadier corners of internet gaming. Opinionated, sometimes right.
-
My loading bar sat at 99% because it trusted Content-Length
The browser decompresses Unity files before your progress code sees them. Our wasm grew 5.4 times on arrival, and the bar gave up.
-
My Unity build unzipped itself for a minute because of one missing header
A 58 MB Unity build decoded itself in JavaScript for a full minute. The fix was one header. The test that lied to me was curl.
-
My 3D models shipped uncompressed for months over one missing MIME type
Gzip was switched on the whole time. It just never knew what a .glb was. The fix saved 40%, and the uneven numbers taught me more.
-
I told browsers to cache Unity files for a year. They listened.
One cache header, three default file names, and a Unity build that crashes when new data meets old code. The fix is one checkbox.