matrix-org / matrix-org/thirdroom

Spamming spheres end up overloading the audio and the client becomes silent

Open
#384 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Engine
Dominant language
C
Stars
647
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When spamming spheres, you can overload the audio buffer and make the entire game/client silent

To Reproduce

Steps to reproduce the behavior:

- Open any world
-  Spam spheres
-  Keep going
-  You cannot hear any sound anymore.
Expected behavior
-  Sound should keep playing
Screenshots

https://user-images.githubusercontent.com/45198486/193421543-99f69991-20d6-40b4-a490-426cff769aaa.mp4

Desktop :
OS: Linux
Browser: Ungoogled Chromium/ Chromium / Chrome
Version: The one currently running in thirdroom.io at the time this bug have been reported.
Additional context

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in thirdroom.io using Chromium on Linux by opening any world and repeatedly spamming spheres until audio stops. Trace the client’s audio handling during repeated sphere creation and verify that sound continues playing after sustained input without overloading the audio buffer.

Written by the indexing model from the issue text.

Assessment

Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.