Quick answer: The Play Console message means at least one 64-bit native library (.so) in your bundle has ELF segments aligned to 4 KB, so it cannot load on Android devices that use 16 KB memory pages. Build with Unity 2022.3.56f1, 6000.0.38f1 or later, then find what is left, which is almost always a third-party plug-in, with llvm-readelf -l or Android Studio’s APK Analyzer, and update or rebuild each library.
The warning names no file. You upgrade Unity, rebuild, upload, and it is still there, because the engine was only one of a dozen native libraries in the bundle. Every .so that an ads, analytics, audio, voice or crash-reporting SDK ships has to pass the same check, and one stale file fails the whole app. This guide covers what Google Play requires and when, which Unity patch versions build compliant engine libraries, three ways to find the library that is still 4 KB-aligned, the fixes, and how to test on a 16 KB device. Godot and Unreal get a short section each.
- The message and the policy behind it
- Why a 4 KB-aligned library cannot load
- Which Unity versions build compliant engine libraries
- Why the warning survives a Unity upgrade
- How to find the offending library
- Fix 1: update or remove the plug-in
- Fix 2: rebuild native code you own
- Fix 3: packaging and zip alignment
- Testing on a 16 KB device
- Godot
- Unreal Engine
- What this looks like in your bug reports
- Related guides
- Frequently asked questions
The message and the policy behind it
App must support 16 KB memory page sizes
To ensure your app works correctly on the latest versions of Android, Google Play requires all apps targeting Android 15+ to support 16 KB memory page sizes.
Your app does not support 16 KB memory page sizes
Memory page size: Does not support 16 KB
The first block is the notice on the Policy status page and in the inbox. Variants of the second appear against a release, and the third is the field in the App bundle explorer. They all report the same check.
The rule applies to apps that target Android 15 (API level 35) or higher and contain native code, and it is evaluated for the 64-bit ABIs (arm64-v8a and x86_64). Every Unity game contains native code, and since 31 August 2026 an update has to target API level 36, so every Unity update is in scope.
The enforcement date has moved more than once. Google first announced 1 November 2025 for new apps and updates, with an extension to the end of May 2026 on request. As of late November 2026, Google’s page-size guide says that starting 1 February 2027 you cannot release updates that do not support 16 KB. The date printed on your own Play Console notice is the one that applies to you, so read it there.
Why a 4 KB-aligned library cannot load
A page is the unit in which the kernel hands out memory. Android used 4 KB pages everywhere until Android 15 added support for devices configured with 16 KB pages. A shared library is mapped into memory segment by segment, and each loadable segment has to start on a page boundary. A library linked for 4 KB pages has segments at 4 KB offsets, and on a 16 KB device the loader refuses it:
dlopen failed: "/data/app/.../lib/arm64/libadsdk.so" program alignment (4096) cannot be smaller than system page size (16384)
If that library is libunity.so or libil2cpp.so, the game never starts. If it is a plug-in, the failure arrives later, as a DllNotFoundException or a Java UnsatisfiedLinkError the first time the SDK is used.
Two things work in your favour. A 16 KB-aligned library still loads on 4 KB devices, so one build serves both. And the alignment is a link-time setting, so source code rarely has to change.
Which Unity versions build compliant engine libraries
| Release line | First version with 16 KB support |
|---|---|
| Unity 2021 LTS | 2021.3.48f1 (extended LTS, Enterprise and Industry customers only) |
| Unity 2022 LTS | 2022.3.56f1 |
| Unity 6.0 | 6000.0.38f1 |
| Unity 6.1 and later | every version |
These come from Unity’s own announcement and the Android requirements page in the manual. Earlier versions, including all of 2019 and 2020 and 2021 LTS without an extended licence, have no fix: the project has to move to a supported line.
Unity packages that ship native code need updating too. Burst must be 1.8.21 or later, or lib_burst_generated.so stays 4 KB-aligned. Unity’s ARCore and XR Hands packages each needed an update as well. Bring every package to the newest patch your editor supports.
Why the warning survives a Unity upgrade
- A third-party SDK’s prebuilt library. Ads and mediation adapters, analytics, Firebase, audio middleware, voice chat and crash reporters all ship
.sofiles, and each vendor had to release a 16 KB build. An SDK you last updated before 2025 is the first suspect. - A library inside an
.aar. An AAR is a zip archive with native code underjni/arm64-v8a/. It is easy to miss because no.sois visible in the Project window. - A stale copy. An SDK upgrade added new files without removing the old ones, or the dependency resolver pulled an old Maven artifact.
- Your own native plug-in, built years ago with an old NDK.
- A Unity package with native code that was not updated with the editor.
How to find the offending library
Unity’s build output. In the versions above, the editor warns during the build, and in the plug-in’s Inspector, when a .so in the project is 4 KB-aligned. The warning names the file, so search Editor.log for aligned after a build.
APK Analyzer. In Android Studio choose Build > Analyze APK..., open the build, and expand lib/arm64-v8a. The Alignment column flags each library that fails.
The command line. llvm-readelf ships in the NDK, including the one under Unity’s install at Editor/Data/PlaybackEngines/AndroidPlayer/NDK. Print the program headers and read the last column of the LOAD lines:
$ llvm-readelf -lW lib/arm64-v8a/libadsdk.so | grep LOAD
LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x0cfaf0 0x0cfaf0 R E 0x1000
LOAD 0x0d0000 0x00000000000d1000 0x00000000000d1000 0x002510 0x004510 RW 0x1000
0x1000 is 4 KB and fails. 0x4000 is 16 KB and passes, and so does anything larger, such as 0x10000. To check a whole build in one go:
READELF="$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf"
unzip -o -q MyGame.apk 'lib/arm64-v8a/*' -d apk_out
for so in apk_out/lib/arm64-v8a/*.so; do
"$READELF" -lW "$so" \
| awk '/LOAD/ && $NF != "0x4000" && $NF != "0x10000" { bad = 1 } END { exit !bad }' \
&& echo "UNALIGNED $so"
done
Replace linux-x86_64 with darwin-x86_64 on macOS. In an .aab the libraries are under base/lib/arm64-v8a/. Google also publishes check_elf_alignment.sh, which takes an APK and prints ALIGNED or UNALIGNED per library. It is linked from the 16 KB page size guide.
Play Console. Upload the bundle to the internal testing track and open it in the App bundle explorer. The Memory page size field reads “Supports 16 KB” or “Does not support 16 KB”. That field is the result that counts.
Once you have a file name, search the project for it to find the SDK that owns it. For a library that is not in the project, unzip each .aar and look in its jni folder.
Fix 1: update or remove the plug-in
- Install the SDK version whose release notes mention 16 KB page size support. Firebase, Vivox, Wwise and the ad networks all had to deal with this, so the answer is usually in a changelog.
- Delete the old native files before importing the new version. Two copies of a library under different versioned names both get packaged.
- If the SDK resolves Android dependencies through the External Dependency Manager, run Assets > External Dependency Manager > Android Resolver > Force Resolve after upgrading.
- If the vendor has no 16 KB build, ask for a date. Then decide between waiting and replacing the SDK. An abandoned plug-in with a prebuilt binary cannot be fixed from your side.
Fix 2: rebuild native code you own
NDK r28 and later link 16 KB-aligned by default, so the simplest fix is to build with a current NDK. With r27 or older, pass the alignment to the linker:
# CMakeLists.txt
target_link_options(${CMAKE_PROJECT_NAME} PRIVATE
"-Wl,-z,max-page-size=16384"
"-Wl,-z,common-page-size=16384")
# Android.mk (ndk-build)
LOCAL_LDFLAGS += -Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384
Then check the code for assumptions. Anything that hard-codes 4096, uses the PAGE_SIZE macro, or passes hand-computed offsets to mmap should ask the system with sysconf(_SC_PAGESIZE). Custom allocators and memory-mapped file readers are where this turns up.
Fix 3: packaging and zip alignment
There is a second, smaller requirement. When libraries are stored uncompressed in the APK, each one has to start at a 16 KB offset inside the zip. Android Gradle Plugin 8.5.1 and later do this. With an older plug-in, the alternative Google documents is storing the libraries compressed (useLegacyPackaging true under packagingOptions.jniLibs).
In a Unity project, let the editor version handle this. Unity 2022.3 ships Gradle 7.5.1, and Android Gradle Plugin 8.5.1 needs Gradle 8.7, so raising the plug-in version in a custom Gradle template breaks the build without touching the real problem. If the warning remains on a supported Unity version, an unaligned library is still the likely cause.
To check a local build:
# APK: the last line should read "Verification successful"
zipalign -c -P 16 -v 4 MyGame.apk
# AAB: look for PAGE_ALIGNMENT_16K
bundletool dump config --bundle=MyGame.aab | grep alignment
Unity’s support notes point out that some Android Studio releases (2025.1.1 and 2025.1.2) show a top-level 16 KB warning in APK Analyzer for a local APK even when every library’s ELF alignment passes. When that happens, trust the per-library column and the App bundle explorer.
Testing on a 16 KB device
Passing the store check and running correctly are separate questions. Confirm the device first:
adb shell getconf PAGE_SIZE
16384
- Pixel phones. The developer option Boot with 16KB page size exists on Pixel 8, 8 Pro and 8a (Android 15 QPR1 or later), Pixel 9, 9 Pro and 9 Pro XL (Android 15 QPR2 or later) and Pixel 9a (Android 16 or later). The first switch can ask for OEM unlocking and a data wipe, so use a test device.
- Emulator. Android Studio’s SDK Manager offers “16 KB Page Size” system images for Android 15 and later. Unity’s documentation says it does not support Android emulators, so treat an emulator pass as a hint.
- Device farms. Samsung’s Remote Test Lab lists 16 KB devices.
Android 16 can run a 4 KB-aligned app on a 16 KB device in a backcompat mode, which shows a warning dialog on first launch. A game that starts with that dialog is not compliant. To make a non-aligned library fail loudly while testing, turn the mode off:
adb shell setprop bionic.linker.16kb.app_compat.enabled false
adb shell setprop pm.16kb.app_compat.disabled true
Then exercise every SDK: show an ad, make a test purchase, join a voice channel, sign in. Plug-in libraries load on first use, so a clean launch proves little.
Godot
Godot 4.5 and Godot 3.6.2 moved the Android build to NDK r28b, which aligns to 16 KB by default. Godot 4.4.x, and 3.6.1 and earlier, build with NDK r23c. Export with 4.5 or later (3.6.2 or later on the 3.x line), reinstall the Android build template after upgrading, and rebuild any GDExtension or Android plug-in libraries. The llvm-readelf check above works on a Godot export unchanged. Confirm against the release notes for the version you ship.
Unreal Engine
Unreal Engine 5.6 and later support 16 KB page sizes, according to both Epic’s Android requirements page and Google’s Unreal guide. Epic staff have also said on the forums that the alignment work was back-ported to the 4.27 Plus branch. Projects on 5.5 or earlier need an engine upgrade. Marketplace plug-ins with prebuilt Android libraries follow the same rule as Unity plug-ins: check each .so.
What this looks like in your bug reports
The store warning is outside anything a game can see, and so is a launch that fails because the engine library itself did not load. The case Bugnet can show you is the partial one: the game starts on a 16 KB phone, and a plug-in library fails on first use. In Unity that surfaces as a DllNotFoundException, which the Bugnet Unity SDK files with the stack trace, recent log lines, OS version and CPU. A cluster of those from Android 15 and 16 only, all naming one library, points straight at an alignment problem.
A native crash in a misaligned library is different. Bugnet does not capture native crash stacks, and a session the OS kills never reports its end, so it is invisible to the crash-free session rate as well. To count those, keep your own “previous run did not exit cleanly” flag, check it at launch, and log an error when it is set. The SDK files and groups that error like any other.
Related guides
- How to Fix “Your app currently targets API level 35 and must target at least API level 36” on Google Play
- How to Fix an Android Game Rejected for the 64-Bit Requirement
- How to Fix “DllNotFoundException: Unable to load DLL” in Unity
- How to Fix “Gradle build failed” When Building Unity for Android
- How to Fix “Fatal signal 11 (SIGSEGV)” Crashes in an Android Game
Frequently asked questions
What does “Your app does not support 16 KB memory page sizes” mean?
At least one 64-bit native library in your app bundle is aligned for 4 KB memory pages. Android devices configured with 16 KB pages cannot load such a library, so Google Play requires every native library in apps targeting Android 15 or higher to be 16 KB-aligned.
Which Unity version supports 16 KB page sizes?
Unity 2022.3.56f1 and later, Unity 6000.0.38f1 and later, and every Unity 6.1 or newer release. Unity 2021.3.48f1 and later also support it, but only under the extended LTS for Enterprise and Industry customers. Burst must be 1.8.21 or later.
I upgraded Unity. Why does Play Console still show the 16 KB warning?
The engine is only one of the native libraries in the build. Any plug-in or SDK that ships its own .so file, including files inside .aar archives, must be 16 KB-aligned too. Find the 4 KB-aligned file with llvm-readelf or APK Analyzer and update that SDK.
How do I check whether a .so file is 16 KB-aligned?
Run llvm-readelf -lW on the file and look at the last column of the LOAD lines. A value of 0x4000 or larger passes, and 0x1000 means 4 KB alignment. Android Studio’s APK Analyzer shows the same result in its Alignment column.
Does a 16 KB-aligned build still work on older phones?
Yes. A library aligned to 16 KB loads normally on devices that use 4 KB pages, so one build supports both. The binary may be slightly larger, and no separate build or device targeting is needed.
One unaligned library fails the whole bundle, and it is usually not Unity’s. Check every .so under arm64-v8a, including the ones hidden inside .aar files, before you upload again.