Inquiry about supporting 16KB page size on Android (UE 5.4.4)

Hello,

I’m reaching out to get some guidance regarding the necessary modifications for supporting the 16KB page size on Android.

Our project is currently based on the latest commit from the Unreal Engine 5.4 branch, with a few internal modifications.

(Reference commit: https://github.com/EpicGames/UnrealEngine/commit/847de5e2553adeb4d3498953604d0b0abe669780)

After reviewing recent commits up to the latest release, I identified several that appear to be related to this change:

From what I can tell, these commits mainly include the following modifications:

  • Updating memory-mapping alignment to 16KB
  • Upgrading Android build tools and NDK versions
  • Updating GoogleGameSDK

Among them, the commit related to GoogleGameSDK (commit link) seems to differ quite a bit from what’s included in UE 5.4.4.

Because of that, I’m unsure which version or point in time of the plugin and related engine code we should apply.

Would it be possible to get a git patch file that includes the necessary modifications to support the 16KB page size on Android for Unreal Engine 5.4.4?

If not, could you please advise on how to correctly integrate the updated GoogleGameSDK into 5.4.4?

Thank you very much for your time and support.

Best regards,

Hi NMWinter0511,

Other developers have successfully backported 16kb page alignment from 5.6 to earlier 5.x versions.

Here is the full list of CLs needed:

1) https://github.com/EpicGames/UnrealEngine/commit/4445a80451ac54f614416ab7426abbfa6ded6889

2) https://github.com/EpicGames/UnrealEngine/commit/0de5bbf20027ac6f8524ac587b3d99095894d962

3) https://github.com/EpicGames/UnrealEngine/commit/27ba14cf694705e694ed2c9f8c891b2cc0c0d946

4) https://github.com/EpicGames/UnrealEngine/commit/149561050ea8fff20b63c3997e154b0c7dbc9e9c

5) https://github.com/EpicGames/UnrealEngine/commit/4905609bf6051076e2f121473fcc030fb4886096

6) https://github.com/EpicGames/UnrealEngine/commit/1ebef47796732cc9421a59a049307d6b5f950d52

Please circle back if this doesn’t address your transition to 16k page size requirements on 5.4.4.

Best regards.

Hi NMWinter0511,

These changes would be required to get updated binary assets associated to those CLs. After integration, you’d need to add to rerun Setup to ensure these binaries are downloaded.

Best regards

Sounds good NMWinter0511,

Do let us know if you encounter any issues with integration.

Best regareds.

Thank you for your prompt response.

It seems that the CLs you mentioned also include changes in the Commit.gitdeps.xml file.

I was wondering if those changes should also be integrated into 5.4.4.

If so, I’m particularly curious about how to handle the parts related to the GoogleGameSDK plugin.

There are some components under the GoogleGameSDK/gamesdk folder that are used but not included in the mentioned CLs, and I’d like to know how those should be managed.

Thank you again for your help.

Thank you for your detailed response, and I apologize for the delayed reply.

I haven’t had a chance to review the points you mentioned yet due to other ongoing work, but I’ll test them based on the information you provided and share the results once I’ve completed the verification.