Skip to content

Adding the AudioStreamPlayer into the paused tree will let the music play #83775

Closed
@Wesmer

Description

@Wesmer

Godot version

v4.1.2.stable.official [399c9dc]

System information

Godot v4.1.2.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 1050 (NVIDIA; 30.0.14.7111) - Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 Threads)

Issue description

If you play music and then pause the tree, the music stops. But if you then remove the node (in this case the parent, of the AudioStreamPlayer) and insert it again after a certain time, the music starts to play even though the tree is still paused.

When the tree is paused, the music should not start by itself.

Steps to reproduce

  • Start Music
  • Pause Tree
  • Remove Node (parent of AudioStreamPlayer)
  • Add Node again
  • (Music starts)

Minimal reproduction project

sound.zip

(Please note that I did not provide a sound file.)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions