Search code examples
unreal-engine4unreal-blueprintunreal-engine5

Sound on collision and level change (UE5)


I have created a box collision(for falling off the platform) of simply losing a game and restarting the map. But when I add the "Open level" to the "On Component Begin Overlap", "Play Sound" does not work. Could someone help

enter image description here


Solution

  • This is because after the player hits the box collision, Unreal will restart the level so fast that you will not be able to hear the sound, in order to fix this problem just add a delay node after the play sound 2d node to hear the audio, then use the open level node afterwards.