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

[BUG] SDK7 Playing a short sound repeatedly fails sometimes #1028

Open
cfravel opened this issue Nov 21, 2023 · 1 comment
Open

[BUG] SDK7 Playing a short sound repeatedly fails sometimes #1028

cfravel opened this issue Nov 21, 2023 · 1 comment

Comments

@cfravel
Copy link

cfravel commented Nov 21, 2023

Create a sound that plays for 1/2 second or less
Once per second, play it
(or once per second stop it and then play it)

// expected: you hear the short sound each time
// actual: sometimes instead you get this error:

unity.framework.js?v=1700601225207:10 Channel.playSoundClip error. Exception: TypeError: Failed to execute 'start' on 'AudioBufferSourceNode': The provided double value is non-finite.

One example where you can observe this in a deployed scene is in my elevator demo at 7,118

  1. Run the scene with &DEBUG_SCENE_LOG added to URL so you get console logging
    https://play.decentraland.org/?position=7,118&&DEBUG_SCENE_LOG
  2. open F12
  3. Enter the scene, and go to the elevator silver doors
  4. Click on the up call button. // elevator doors open
  5. Go in
  6. Click on the button for floor 5.
    // expected: 5 "dings"
    // actual: around 3 "dings" and some error reporting.
@cfravel
Copy link
Author

cfravel commented Nov 27, 2023

Might be similar to #958

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant