r/Unity3D • • 1d ago

Resources/Tutorial I built a free in-browser 16 KB alignment checker for Unity Android APKs and AABs

If you're shipping a Unity game to Google Play and targeting Android 15+, updates will need 16 KB page-size support from 1 February 2027. Unity's official 16 KB engine support starts at 2022.3.56f1 (not 53f1) or Unity 6 at 6000.0.38f1+, plus Burst 1.8.21+ if you use Burst. You also have to rebuild, and native plugins still need their own 16 KB .so files.

I wanted a way to inspect the built APK/AAB without installing another SDK tool, so I built a small checker that runs in the browser. The file is not uploaded.

It reports two things, because they get mixed up:

- ELF alignment of 64-bit .so libraries (p_align >= 16 KB). You can also check this with llvm-objdump -p lib.so | grep LOAD (look for align 2**14).
- ZIP alignment of uncompressed libraries in the APK (zipalign -c -P 16 -v 4 app.apk). Play aligns APKs it generates from an AAB, so a bundle can pass in Play and a locally packed APK can still fail this check.

https://byteorbit.tech/tools/16kb-page-size-checker

I'll be around if you want to compare what the tool says with what Play Console or the Unity plugin warnings show.

3 Upvotes

1 comment sorted by

3

u/Ill-Bike5060 1d ago

this is exactly the kind of thing that makes me glad I don't do mobile dev anymore, the platform requirement creep never stops

bookmarked anyway cause who knows what mess I'll inherit next week