-
Notifications
You must be signed in to change notification settings - Fork 183
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] GLTF: Scenegraph json not iterable #2816
Comments
The three warnings appearing before the final error are the important bits here — these are a glTF 1.0 files, embedded in an older version of the B3DM format. LoadersGL requires glTF 2.0. Perhaps also relevant, the |
There is partial support for "auto-upconverting" glTF 1.0 files, but perhaps it requires enabling a |
Hi,
this tileset of the city of Berlin crashes when loading its b3dm files.
I tried to debug it. In
@loaders.gl\gltf\src\lib\extensions\EXT_texture_webp.ts
in the functionpreprocess()
(link)json.texture
happens to be an object. Since it is an object and notnull
orundefined
|| []
will not be used and since that object is not iterable and an error is thrown.Here is a minimal script to reproduce the error:
I don't know why exactly but it only starts loading b3dm files after the third call to
selectTiles
but that is not what this issue is about.The text was updated successfully, but these errors were encountered: