-
Notifications
You must be signed in to change notification settings - Fork 6
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
Decoder hang with invalid URL #16
Labels
bug
Something isn't working
Comments
Also, it's interesting to note that |
ahhh, right, nevermind my previous comment, I misread your report, this seems to happens only with an empty string, I can reproduce the problem now, I'm investigating |
daniele-pelagatti
added a commit
that referenced
this issue
Nov 29, 2023
related issue: #16 the problem is caused by the fact that an empty string or any other "real-file-but-not-an-image" (an empty string is a request to load index.html basically) gets fulfilled by the server with a 200 OK status, returned by FileLoader -> we get the HTML in return (which is not an image) and then we try to render it anyway. this catches errors in the LoaderBase render function and properly calls the onError callback
daniele-pelagatti
pushed a commit
that referenced
this issue
Nov 29, 2023
# [3.0.0](v2.0.7...v3.0.0) (2023-11-29) ### Bug Fixes * **loaders:** properly catches render errors and calls onError callback ([b9bcdd1](b9bcdd1)), closes [#16](#16) ### Features * **core:** disables default mipmap generation, enables user to specify renderTarget (and toDataTexture) options ([147d278](147d278)), closes [#14](#14) [#15](#15) ### BREAKING CHANGES * **core:** `generateMipmaps` is no longer `true` by default, both `minFilter` is no longer `LinearMipMapLinearFilter` by default but `LinearFilter`, `wrapS` and `warpT` are no longer `RepeatWrapping` by default but `ClampToEdgeWrapping`
this should be fixed in v3.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a test that's now failing upon incorporating
HDRJPGLoader
in google/model-viewer#4578:It appears to time out reliably, so I think it's just hanging instead of throwing? Our similar test for a not found URL is throwing properly:
await textureUtils.loadEquirect('./nope.png');
The text was updated successfully, but these errors were encountered: