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

Live demos don't work on multiple browsers #1

Open
BrandtM opened this issue Jun 15, 2019 · 4 comments
Open

Live demos don't work on multiple browsers #1

BrandtM opened this issue Jun 15, 2019 · 4 comments

Comments

@BrandtM
Copy link

BrandtM commented Jun 15, 2019

Tested with Firefox 67.0.2 and Chrome 76.0.3809.12.
Firefox console prints out:
es6.promise.js:110 Unhandled promise rejection TypeError: "this.uniforms[e] is undefined"
And Chrome prints:
picogl.js:3928 Uncaught (in promise) TypeError: Cannot read property 'set' of undefined

Despite the different error messages both browsers deliver an identical page. It's completely black but the menu as well as the code editor are visible.

@stasilo
Copy link
Owner

stasilo commented Feb 24, 2020

I think this should be resolved in the new version with sdf support. Closing for now.

@stasilo stasilo closed this as completed Feb 24, 2020
@MaxBittker
Copy link

Sorry if it's obnoxious to follow up so quickly, but I don't think the live demo build has been updated to reflect this fix (I still get this error).

retrace seems really cool and I'm excited to try it out! I've written a lot of SDFs in the past, never with tooling 1/10 as nice as this :)

@stasilo stasilo reopened this Feb 25, 2020
@stasilo
Copy link
Owner

stasilo commented Feb 25, 2020

@MaxBittker No, not at all, and thanks :) It's a bit hard for me to debug this though, as all scenes work perfectly for me on both my home & work mac os setups running the latest/almost latest versions of chrome & firefox.

Do you experience the same issue with all scenes? Could you provide some info on your environment? (os, browser, screen resolution, gpu & gpu driver details would be fantastic).

I recognise this error string, though. For me it usually has appeared after the webgl context has been lost at one point (i.e. webgl has crashed), in which case a browser restart fixes it for me. That'd be the first thing I'd try :)

Or, you're running Windows and are experiencing loooong shader compilation times (and probably other issues) due to ANGLE, which can cause context loss/a webgl crash. In which case there isn't much to do I think (you should still be able to run most demos with the sdf render mode, though).

@MaxBittker
Copy link

linux, chrome, 2560 x 1440
0HSoFAZw3ZL

the problem is the same in the scene links i tried from the readme, and persisted since I restarted my browser

I haven't tried cloning and building locally, maybe it's just that the new version hasn't been regenerated for gh-pages?

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

3 participants