ObjectPooling
ObjectPooling›Help & FAQ›Troubleshooting & FAQ

Troubleshooting & FAQ

Stable

Helpful troubleshooting tips for ObjectPooling.

Troubleshooting & FAQ

Frequently Asked Questions#

What happens if all actors in the pool are currently in use?#

By default, ObjectPooling will dynamically instantiate a new actor and add it to the pool, ensuring your gameplay never misses an effect or bullet.

Can I pool Particle Emitters and Sound Cues?#

Yes! You can pool any Actor, including Niagara Actor Blueprints and Ambient Sound actors.

How does it work with multiplayer?#

Call Spawn Actor From Pool on the server. The actor will replicate its movement and state to clients just like any standard replicated actor.

Common Solutions#

Projectile maintains old velocity when re-spawned#

  • Cause: The Projectile Movement component was not reset.
  • Fix: In your projectile's On Spawn From Pool event, call ProjectileMovement -> SetVelocityInLocalSpace or reset its updated component.