Typically a 2D sound (UI sound) does not pause when the game stops or is called to pause. This is because most 2D sounds do not contain audio components which contain a toggle for this very feature, as you have discovered.
Are you referring to the ‘Real-Time’ audio within the Editor, or are you referring to the sound when pressing PIE (play in editor)?
Also, if you have unchecked ‘Auto-Activate’ then simply calling the Audio component to play using the ‘Play’ node is going to call the sound to play, therefore you do not need the ‘Activate’ node.
Let me know if you have further questions or need additional assistance.
I am referring to the ‘Real-Time’ audio within the editor.
If “Is UI Sound” and “Auto Activate” checked, the audio will start play IN EDITOR, this is annoying.
It is expected that the audio will play/restart if your audio component has ‘Auto-Activate’ checked and you recompile or make changes with ‘Real Time Audio’ enabled.
The ‘Is UISound’ is strictly to tell the audio component whether to continue playing when the game is paused, and since there is no game thread when you are just in the editor, that flag has no function.