Skip to main content
New Participant
Sep 11, 2025 6:38 AM UTC
Solved

How to increase MaxUObjects for Android?

Working with UE 5.3.2 I want to increase the MaxUObjectsInGame for an Android device.
I already added a Project/Config/Android/DefaultAndroidEngine.ini where I set gc.MaxObjectsInGame and gc.MaxObjectsInProgram.
I also looked into calling FUObjectArray::AllocateObjectPool() but I do not know if there is a correct time in my project to do that. The earliest time to do that that I can think of is GameInstance::Init which is too late, since UObjects were already created. It fails at check(ObjObjects.Num() == 0);.

Thank you.

This topic has been closed for replies.
JulianPWAnswer
New Participant
Sep 11, 2025 12:02 PM UTC

I changed gc.MaxObjectsInGame in /Engine/Config/Android/AndroidEngine.ini. It works even though I am not working with a source build engine.

2 replies

MetaStoreHelp
Community Manager
Sep 11, 2025 7:40 AM UTC

Hi JulianPW 

 

Thanks for reaching out! You can go to the Developer Support Center for all of our official development resources.

 

Have a great day!

If you're the author of a thread, remember to mark a reply as the Accepted Solution to help others find answers!
JulianPWAuthorAnswer
New Participant
Sep 11, 2025 12:02 PM UTC

I changed gc.MaxObjectsInGame in /Engine/Config/Android/AndroidEngine.ini. It works even though I am not working with a source build engine.