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

Framebuffer deleted before attempting to bind #149

Open
stalgiag opened this issue Jun 25, 2020 · 3 comments
Open

Framebuffer deleted before attempting to bind #149

stalgiag opened this issue Jun 25, 2020 · 3 comments

Comments

@stalgiag
Copy link

stalgiag commented Jun 25, 2020

Hi! Thanks for all of the hard work!

I am having an issue when version 2.0.3 is injected with a very basic example. Note that this error doesn't pop up when running in a browser that doesn't require polyfilling.

Here is the error message:
WebGL warning: bindFramebuffer: Object 'fb' is already deleted.

This originates with my call to this.gl.bindFramebuffer(); and seems to be triggered at the self.realBindFramebuffer.call() calls in both CardboardDistorter.prototype.submitFrame and CardboardDistorter.prototype.patch.

I am using the default config for the polyfill. Any help would be greatly appreciated!

@jsantell
Copy link
Contributor

Thanks for filing an issue @stalgiag; do you have a link to reproduce this error?

@stalgiag
Copy link
Author

This link works in Chrome 83 for Android; but not in older versions of Chrome or any version of Firefox. It also does not work with iOS but I don't have a good way to debug to say for certain it is the same error message.

Note that there may be a DPDB warning (dependent on device). This has never been breaking before, so I assume this isn't the problem. Also this link worked with the older version of the polyfill with both Chrome and Firefox on Android and iOS.

Thank you for the help!

@stalgiag
Copy link
Author

This might be more helpful. Here is another test that does not have any code of my own. This is the current Immersive Web Immersive VR test with the most recent build of this polyfill loaded behind a navigator.xr check instead of a url flag. I am seeing the same behavior on firefox for android and chrome+firefox for android. Whereas with past versions of the polyfill this example worked.

Thank you for all of the help!

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