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

Cesium version 1.117, RuntimeError :nFailed to load glTF\nFailed to load vertex buffer\nDraco decoder could not be initialized. #11986

Closed
manjunathamm24 opened this issue May 15, 2024 · 6 comments
Labels
needs feedback On hold until additional info is supplied needs triage type - bug

Comments

@manjunathamm24
Copy link

What happened?

Hi, i am facing issue while loading glb model in my cesium POC app.

Getting runtime error
"RuntimeError": nFailed to load glTF\nFailed to load vertex buffer\nDraco decoder could not be initialized.

here is code attached below

const gltfConfig= {
debugWireframe: true,
colorBlendMode: Cesium.Cesium3DTileColorBlendMode.REPLACE,
lightColor: new Cesium.Cartesian3(0.695, 0.7428, 0.7228),
show: true,
enableModelExperimental: true,
projectTo2D: true
};

let anotherPromise = Cesium.Cesium3DTileset.fromUrl(this.svdFilePaths[index], gltfConfig);

Reproduction steps

...

Sandcastle example

No response

Environment

Browser:
CesiumJS Version:
Operating System:

@ggetz
Copy link
Contributor

ggetz commented May 15, 2024

Would you be able to include a Sandcastle example that replicates the issue? Or the glb in question? That would help us give us more context to determine the issue. Thanks!

@ggetz ggetz added the needs feedback On hold until additional info is supplied label May 15, 2024
@manjunathamm24
Copy link
Author

manjunathamm24 commented May 20, 2024

{
"name": "RuntimeError",
"message": "Failed to load model: svd.glb\nFailed to load glTF\nFailed to load vertex buffer\nDraco decoder could not be initialized.",
"stack": "Original stack:\nOriginal stack:\nOriginal stack:\nError\n at new GL
}

@ggetz
Copy link
Contributor

ggetz commented May 21, 2024

Hi @manjunathamm24, thanks for the sample code.

I cannot reproduce the error with any other tileset or glb. It will be difficult to track down the issue without the relevant file.

@manjunathamm24
Copy link
Author

@ggetz issue was with file so, i am closing this thread,

@manjunathamm24
Copy link
Author

closing this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs feedback On hold until additional info is supplied needs triage type - bug
Projects
None yet
Development

No branches or pull requests

2 participants