Description
Tested versions
- Reproducible in v4.5.dev5.official [64b0990] and v4.4.1-stable
- Not reproducible in v4.3.stable.official [77dcf97] and v3.5.3-stable
System information
Godot v4.5.dev5 - macOS Sequoia (15.4.1) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - Apple M1 Pro - Apple M1 Pro (10 threads)
Issue description
Playing audio causes my v4.5 dev5 HTML export web game (embedded on itch.io) to crash (on iOS Chrome and iOS Safari - iPhone 15 Pro 2023, iOS 18.5) after 1-3 minutes. If I disable audio, it works fine. Does not seem to crash on Android Chrome even with audio.
With audio, it works fine if exported from v3.5.3 and v4.3. I also tried exporting from v4.4.1 and had the same problem.
In the past, I've been able to publish a few small web games on itch.io with v3.5.3 without this issue on iOS mobile browser.
I've tried using the Web Inspector with iOS Safari, but the console didn't show me any errors from the game / no message when the game crashed and reloaded.
Steps to reproduce
I made a super simple demo game with audio to test this. (Links listed in MRP below.) The demo just has buttons that get pressed and play sound automatically. Exported to HTML and embedded on itch.io. I used "Compatibility" mode for v4+. In Godot 3.5.3, I used "OpenGL ES 2.0" mode, same as what I did for my previous web games which didn't have this issue.
Minimal reproduction project (MRP)
I've uploaded my demo game on github and itch if anyone wants to check:
v4.5 dev5
https://mellowminx.itch.io/audio-test-godot-4-5-dev-5 - password: godot
https://github.com/mellowminx/godot-4-5-dev-5-audio-test
v4.3
https://mellowminx.itch.io/audio-test-godot-4-3 - password: godot
https://github.com/mellowminx/godot-4-3-audio-test
v3.5.3
https://github.com/mellowminx/godot-3-5-3-audio-test - password: godot
https://github.com/mellowminx/godot-3-5-3-audio-test
Metadata
Metadata
Assignees
Type
Projects
Status
Status