Summary
Hey,
The first time I start PIE after launching the editor I get a Niagara system stuck floating at the origin.
I do create some systems and then call DeactivateImmedate on them straight way (for reasons that aren’t relevant).
I’ve tracked this down to the fact that DeactivateImmediate does not reset the bAwaitingActivationDueToNotReady flag (which the normal Deactivate does).
Clearing that flag fixes my issue and I thought you might like to take that fix.
Thanks
What Type of Bug are you experiencing?
Rendering (Graphics / Niagara)
Steps to Reproduce
- Spawn a bAutoActivate Niagara system at BeginPlay time
- Immediately after spawning call DeactivateImmediate on the resulting component
- On first PIE session after lanching the editor the particles are present in the world (seemingly due to the Niagara assets not having fully loaded and the activation of the system being deferred.)
Expected Result
No particles left in world under there circumstances
Observed Result
A particle system that I called DeactivateImmediate on remains in the world.
Affects Versions
5.8
Platform(s)
Windows