Object Pool Creater

Easy to use object manager and massively increase spawn performance. For Actor, ActorComp, Widget, DynamicMaterial, UObject.

Category:
Tags: , , , , , , , ,

Description

Improve the performance of your game at runtime by using an object pool. Creating and deleting objects requires a lot of CPU time. An object pool significantly reduces lags when spawning objects. 

It is precisely such lags that interrupt the flow of the game.

When your project gets bigger and there are thousands of objects in a scene, the effect of an object pool is even greater. We have been using the plugin ourselves for some time and are very satisfied with the performance increase.

I wrote the plugin because other object pools specialise mainly in spawning actors. With this plugin the following classes and child classes are supported:

– Actor

– Actor Component

– widget

– Dynamic Material

– UObject

We did performance testing with an AMD 5800x, Geforce 3060ti, Win64. (sample project included). 

Actor +757 %

Widget +265 %

Actor Component +376 %

Dynamic Material +4726 %

In addition to Win64, we have also tested the plugin with UE5.01 and Android and were able to measure larger performance increases in some cases. Depending on the system and implementation, these values can be higher or lower.

It was important to me that this object pool can be integrated very easily into existing projects. It is not necessary to change the class hierarchy.

The object pool is an actor component and can be easily attached (e.g. GameMode, Playercontroller, …). 

Technical Details

Code Modules:

Number of Blueprints: 7

Number of C++ Classes: 1

Network Replicated: No

Supported Development Platforms: Win64, Android

Supported Target Build Platforms: Win64, Android

Supported Engine Versions

4.27, 5.0 – 5.2