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

[Web] Make audio bus fetching more resilient to errors #97739

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

adamscott
Copy link
Member

This PR makes audio bus fetching more resilient to null errors. Sometimes, the engine can send an erroneous bus, so the JavaScript code used to trip over an invalid index. Now, with this fix, there are now checks in place in areas that could potential fail.

Fixes #95713

@adamscott adamscott added bug platform:web topic:porting topic:audio cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release labels Oct 2, 2024
@adamscott adamscott added this to the 4.4 milestone Oct 2, 2024
@adamscott adamscott requested a review from a team as a code owner October 2, 2024 15:24
@akien-mga akien-mga merged commit 2e14492 into godotengine:master Oct 2, 2024
19 checks passed
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:4.3 Considered for cherry-picking into a future 4.3.x release platform:web topic:audio topic:porting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audio bus update error when exporting as web Godot 4.3
2 participants