# Can't delete spawned sound 2D

**URL:** <https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, level, music, Blueprint, question\
**Created:** [September 2, 2025, 1:45pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023 "2025-09-02T13:45:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 1:45pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/1 "2025-09-02T13:45:26Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/7/75787b27d50c3dcdf42709ad7e4c12b8e1ea091d.png)

This blueprint is inside game instance. I want to have separate tracks for Menu level and Gameplay level. When character dies the Gameplay level reloads. Everything works until I open Menu level from the Gameplay level. The Gameplay track still play and can’t delete it because it says it’s pending delete.

I’m confused and don’t know how to fix this

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2025, 3:06pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/2 "2025-09-02T15:06:24Z")

</div>

You could just make the concurrency 1, and then you don’t need to worry about it 🙂

The pic is a bit to small to see clearly.

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 3:18pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/3 "2025-09-02T15:18:47Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/3/a03912fa2253b73070d20f1c3a52b5b33c399a24.png)

Yeah but those are 2 different sound

---

<div class="post-metadata">

**Author:** ![DLROKen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DLROKen](https://forums.unrealengine.com/u/DLROKen)\
**Post date:** [September 2, 2025, 4:00pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/4 "2025-09-02T16:00:20Z")

</div>

Put a do once on the opening of the Menu, then destroy actor, seems like a sequence would be much more efficent for this.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2025, 4:41pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/5 "2025-09-02T16:41:38Z")

</div>

I would get rid of the ‘replace music’ bool.

Just send it something to play, if there’s something already playing ( valid ref ), then destroy it and make a new one, otherwise just spawn.

If you send it the same music twice, that’s just another problem.

It’s also possible to know what is playing from the reference, you could use that to figure out if you need to replace. ( Can’t recall the exact node, and I’m not at a machine rn, but I have done it ).

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 6:29pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/6 "2025-09-02T18:29:28Z")

</div>

Can’t get rid off Replace Music because when a character dies level is reloaded so I need the track to keep playing

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 6:31pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/7 "2025-09-02T18:31:15Z")

</div>

When I print it out after going back to the Menu, this is what I get.

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/6/f26750b17594a2a4fb3cda981bc02d56fca0fdbe.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/2/9424be35bdc09f27322d4e2bea423308d7f4da11.png)

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 6:56pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/8 "2025-09-02T18:56:38Z")

</div>

Every time I restart game it goes up by 1: AudioComponent10,11,12…

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [September 2, 2025, 8:07pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/9 "2025-09-02T20:07:35Z")

</div>

This will always replace the sound if need be

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/f/71fcd178edbdbffcbd5bef3a6dcaaf0a60def73e.png)

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 9:38pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/10 "2025-09-02T21:38:48Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/e/02e7b289f19d4fc434b1d2095f6b8f13a86d84d8.png)

I get those errors and music starts playing again after every level reload.

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 2, 2025, 9:45pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/11 "2025-09-02T21:45:32Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/9/3896244fae75ab1f8d4b43f2dc4c46dbb6856d4e.png)

It’s very weird. Even here the name of this is NoneAudioComponentX. And X keeps rising every gameplay

---

<div class="post-metadata">

**Author:** ![Mando\_2700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mando\_2700](https://forums.unrealengine.com/u/Mando_2700)\
**Post date:** [September 6, 2025, 7:14pm UTC](https://forums.unrealengine.com/t/cant-delete-spawned-sound-2d/2653023/12 "2025-09-06T19:14:19Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/b/d/cbd9c0d2c90fa59c5b071e7eccc46cbd285b1e70.png)

The solution
