For clarity’s sake here is a resume of observed behaviours on my end.
‘Is UISound’ set to true:
- Works fine. Sound will work no matter the order of pause, unpause, or restart. Sound will also keep playing while paused.
‘Is UISound’ set to false:
- Pause->Restart: Sound does not work properly after the restart.
- Pause->Restart->Pause->Unpause: Sound seems to start to work again after the game is paused and resumed.
- Pause->Restart->Unpause: Worked fine in a blank project, didn’t work on a bigger one.
- Pause (open menu)->Restart button OnClick:(Unpause->Restart): Didn’t work.
- Pause (open menu)->Restart button OnClick:(Unpause->Delay(0.2)->Restart): Worked fine.
When I say that sound doesn’t work is not always muted, sometimes the SoundCue with pitch controlled by param is bugged and you can still hear some noise.
Also as I specified earlier, when playing a SoundCue with a CorssfadeByParam some of the input sounds will still be audible after the first restart but after several restarts all of them will stop working. So in the cases where the sound breaks after a restart (‘Is UISound’ set to false), it gets worse after each restart.