# Niagara emitter not destroyed in editor when session stop 

**URL:** <https://forums.unrealengine.com/t/niagara-emitter-not-destroyed-in-editor-when-session-stop/2414432>\
**Category:** Programming & Scripting\
**Tags:** leak, particle-systems, unreal-editor-for-fortnite, fortnite-creative, unreal-engine, UEFN, bug-report, editor, fortnite\
**Created:** [March 24, 2025, 7:27pm UTC](https://forums.unrealengine.com/t/niagara-emitter-not-destroyed-in-editor-when-session-stop/2414432 "2025-03-24T19:27:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meta4\_GabrielL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Meta4\_GabrielL](https://forums.unrealengine.com/u/Meta4_GabrielL)\
**Post date:** [March 24, 2025, 7:27pm UTC](https://forums.unrealengine.com/t/niagara-emitter-not-destroyed-in-editor-when-session-stop/2414432/1 "2025-03-24T19:27:11Z")

</div>

The niagara particle emitter spawned via verse are not destroy when stopping a session in-editor.

The issue is observed via the spacial profiler tool - note that the objects are observed on the server.

_Replication of the bug can be done using a similar verse script:_

```auto
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /Verse.org/Assets }
using { /UnrealEngine.com/Assets }
using { /UnrealEngine.com/Temporary/Diagnostics }

test_issue := class(creative_device):

    @editable
    Particle : particle_system = VerseAssets.NS_Particle

    OnBegin<override>()<suspends>:void = {
        spawn{BugLoop()}
    }

    BugLoop<private>()<suspends>:void = {
        Sleep(1.0)
        loop:
            SpawnParticleSystem(Particle, GetTransform().Translation)
            Sleep(0.01)
    }

```

 ![BeforeAnything](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/f/a4f6510ad5c06339de40a2c77732750849408b88.jpeg)  
 ![DuringSession](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/d/44ddf56d2b3fb18a1ef0024b964da510b18e0d04.jpeg)  
 ![AfterSession](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/2/8a24f0bda50bf2c135113fe11b4f1dc865445316.jpeg)
