[UE4-25] Particle stutters the first time it is spawned

LordLittlePants
Tue, 12 Apr 2022 22:54:21 +0000
Asset Creation

The first time I spawn a particle, it seems to stutter and ends up with a weird square around it (see screenshot). The problem does not occur when spawning it fom the second time and onwards.

Even if I close the game window and execute it again, the problem does not happen again. It only returns if I completely close and reopen the Unreal Engine.

To spawn the particle, I am using the “Spawn Emmiter at Location” node. Also I am using Unreal 4.25.

After running the profiler, I can see that there is a spike in the Game Thread in the exact frame when the problem occurs. It indicates that the spike is in the “self” event name, but I don’t know what that means.

Does anyone know what may be causing this and how to fix it? Any tips on how to further investigate?

7 posts - 4 participants