diff --git a/scene/audio/audio_stream_player_internal.cpp b/scene/audio/audio_stream_player_internal.cpp index f738530f09..43265007ee 100644 --- a/scene/audio/audio_stream_player_internal.cpp +++ b/scene/audio/audio_stream_player_internal.cpp @@ -114,7 +114,8 @@ void AudioStreamPlayerInternal::notification(int p_what) { case Node::NOTIFICATION_SUSPENDED: case Node::NOTIFICATION_PAUSED: { - if (!node->can_process()) { + bool can_process = node->is_inside_tree() && node->can_process(); + if (!can_process) { // Node can't process so we start fading out to silence set_stream_paused(true); }