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

[Bug] OperationError: Failed to execute 'getMappedRange' on 'GPUBuffer': getMappedRange failed #3175

Open
daker opened this issue Nov 13, 2024 · 0 comments
Labels
type: bug 🐞 Errors in functionality

Comments

@daker
Copy link
Collaborator

daker commented Nov 13, 2024

Bug description

For certain models, nothing is rendered when using WebGPU

Steps to reproduce

Open the GLTFImporter

Detailed Behavior

index.js:59 Uncaught (in promise) OperationError: Failed to execute 'getMappedRange' on 'GPUBuffer': getMappedRange failed
    at publicAPI.createAndWrite (index.js:59:33)
    at _createBuffer (index.js:223:14)
    at publicAPI.getCachedObject (index.js:144:27)
    at publicAPI.getBuffer (index.js:331:27)
    at publicAPI.buildVertexInput (index.js:986:47)
    at publicAPI.updateBuffers (index.js:1316:15)
    at publicAPI.prepareToDraw (index.js:247:15)
    at publicAPI.opaquePass (index.js:382:17)
    at publicAPI.apply (index.js:44:7)
    at publicAPI.traverse (index.js:32:15)

Expected Behavior

The model is rendered like in WebGL

Environment

  • vtk.js version: latest(WebGPU)
  • Browsers: Chrome 130.0.6723.117
  • OS: Windows 11
@daker daker added the type: bug 🐞 Errors in functionality label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐞 Errors in functionality
Projects
None yet
Development

No branches or pull requests

1 participant