Spawning Actors from an Actor Pool
An Actor Pool is a great way to speed up your projects – pre-allocating the actors before playing and then reusing those from a buffer. 1000 actors are allocated in the Pool.
This section times a rotating gun firing bullets at intervals, The bullet spawning function is wrapped in the profiling:
The Pool is Preallocated in the BeginPlay Event – to pre-allocate 1000 bullet actors it takes 2.08ms on the test machine.