Skip to main content
New Participant
September 11, 2025
Solved

How to increase MaxUObjects for Android?

  • September 11, 2025
  • 2 replies
  • 138 views

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.
Best answer by JulianPW

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
September 11, 2025

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
September 11, 2025

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