Firing Projectiles causes performance dips

Howdy!

In my project, when you fire laser while flying along nice and smooth, the ship take a dip in speed when the projectile is instantiated. I’m using the Spawn Actor from Class in my Blueprint (UE4).

It is real noticeable when flying slowly and firing projectiles one at a time.

I’ve tried looking for a way to pre-instantiate a pool of the projectile objects, but am having no luck. My lasers are simple narrow capsule mesh with a glowing red or blue material and a box collider.

I’m targeting mobile for this project, but I get the speed dips on the laptop as well. Blueprint for my fire lasers function below…

I’d greatly appreciate if someone could point me in the right direction.

Thanks,
Byron

Hi ByronBBB,

Could we also see a screenshot of your projectile Event Graph and static mesh?

Hi BryronBBB,

We haven’t heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you’re still experiencing this issue, please feel free to post back here with additional information.

Thanks, TJ