-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
AudioServer crashes when playing sounds through an AnimationPlayer #100173
Comments
I can't reproduce this crash using the MRP. I'm on Linux though. |
I was able to reproduce the issue and bisected to #97625, @SourceOfHTML A detail is if you try to close the game after the bug started, the entire game will freeze and become unresponsive, only being able to be closed by the task manager. I did a small modification in the original mrp to make easier to debugger that, i used the Godot v4.4.dev3 - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated AMD Radeon RX 580 2048SP (Advanced Micro Devices, Inc.; 31.0.21921.1000) - AMD Ryzen 5 3600 6-Core Processor (12 threads) |
Cannot reproduce on macOS (master). Is it a Windows-specific issue? |
Me and the issue author is using Windows, the author of issue #100819 that seems to be the same problem also use windows and timothyqiu was unable to reproduce on Linux, so indeed seems to be windows specific. |
@matheusmdx Could you test my new PR #101097? I think it could fix this issue. |
Tested versions
System information
Godot v4.4.dev6 - Windows 10.0.22621 - Multi-window, 3 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 (NVIDIA; 32.0.15.6081) - AMD Ryzen 5 4500 6-Core Processor (12 threads)
Issue description
The AudioServer(? - unsure because no error occurs) crashes when attempting to mass play audio-streams though an AnimationPlayer.
Afterwards no sound is ever played until restarting the game.
EDIT: Here is a video showing the issue:
https://github.com/user-attachments/assets/f1291d12-9c0c-4bc2-9c0b-87b1881b3ba0
Steps to reproduce
MRP tested without code but with signals.
Minimal reproduction project (MRP)
audio-issue-test.zip
Mash the 'Play' button and at some point the AudioDriver(?) should crash.
The text was updated successfully, but these errors were encountered: