Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Wesmer opened this issue Oct 22, 2023 · 2 comments · Fixed by #83779
Closed

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

Wesmer opened this issue Oct 22, 2023 · 2 comments · Fixed by #83779
Assignees
Milestone

Comments

@Wesmer
Copy link

Wesmer commented Oct 22, 2023

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.)

@KoBeWi
Copy link
Member

KoBeWi commented Oct 22, 2023

Seems the same as #49153, but the issue was specific to Godot 3 🤔

@AThousandShips
Copy link
Member

Will take a look at this, think I know what's going on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants