-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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
Game crashes when AudioStreamPlayer2D plays sound after reloading scene #96506
Comments
I didn't reproduce a crash on Linux with 4.4.dev (8120e03) in the MRP, but I did manage to get an error to show up:
I'm using a dev editor build, this may be a crash in a release export. Edit: Tried with 4.3.stable release export template on Linux, couldn't reproduce either an error or a crash with maybe a hundred restarts. |
Reproduced on Windows with stack trace below. Looks like the same issue as #89212, should be fixed by #91123
|
Thanks! Consolidating in #89212. |
Tested versions
System information
Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3070 (NVIDIA; 32.0.15.6094) - 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz (16 Threads)
Issue description
A godot game crashes with this fairly specific combination of features:
This does not occur if:
When the game crashes, there are usually no errors printed to the log, however sometimes before crashing, you get the following error printed multiple times:
There's some discussion of this bug in the forums here: https://forum.godotengine.org/t/game-crashing-on-audiostreamplayer2d-play/50531
Steps to reproduce
Minimal reproduction project (MRP)
audio-crash-bug.zip
The text was updated successfully, but these errors were encountered: