Will pooling entities help me? Topic is solved

Problems building or running the engine, queries about how to use features etc.
slapin
Bronze Sponsor
Bronze Sponsor
Posts: 388
Joined: Fri May 23, 2025 5:04 pm
x 28

Will pooling entities help me?

Post by slapin »

Hi, all!
I have modular characters which consist of 5 parts (hair, face, top, bottom, feet). When I instance them I get freeze for several seconds.
I preload all meshes on start via MeshManager::getSingleton().load() so the freeze is not due to mesh loading I guess.
The freeze happens on entity creation. So the question is - if I pre-create like 10 entities for each module and will create new ones only when these are exhausted and always reuse entities, will that prevent freezes?
@paroj please help!

Last edited by slapin on Wed Feb 25, 2026 3:46 pm, edited 1 time in total.
slapin
Bronze Sponsor
Bronze Sponsor
Posts: 388
Joined: Fri May 23, 2025 5:04 pm
x 28

Re: Will pooling entities help me?

Post by slapin »

Tested creating entities and then destroying them afterwards - freezes gone.