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

Cannot set property bufferSource of undefined #1508

Closed
kane-mason opened this issue Aug 13, 2021 · 1 comment
Closed

Cannot set property bufferSource of undefined #1508

kane-mason opened this issue Aug 13, 2021 · 1 comment

Comments

@kane-mason
Copy link

kane-mason commented Aug 13, 2021

We were looking through our error logs and found we get a lot of this error:

image

We are developing games that transition in and out of scenes, loading and unloading new audio so might be a case of refreshing the buffer for a sound that has been unloaded?

Using howler 2.0.8 and have been for probably 2 years

Errors all on iOS

@obiot
Copy link
Contributor

obiot commented Aug 17, 2021

I actually just upgraded to the latest version and have a similar issue, with the below exception :
Exception with thrown value: InvalidStateError: The buffer was already set

and with the debugger pointing to that line :
https://github.com/goldfire/howler.js/blob/master/src/howler.core.js#L2177
node.bufferSource = null;

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

2 participants