Beam particle system randomly disappears

Garbage Collection Protection

When you create your Beam PSC, make sure to store it in a global UPROPERTY() variable!

//.h file



UPROPERTY()
UParticleSystemComponent* m_beam_ps;


Otherwise your particle is getting garbage collected !

I have a wiki on UE4 Garbage Colleciton Here:

Memory Management and GC in UE4

:slight_smile:

Rama