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

Failed to execute 'createBuffer' on 'GPUDevice': createBuffer failed, size is too large for the implementation when mappedAtCreation == true #6676

Closed
erikdubbelboer opened this issue Jun 8, 2024 · 1 comment

Comments

@erikdubbelboer
Copy link
Contributor

This error is affecting less than 1% of the users of https://poki.com/en/preview/94176748-9ef8-42c9-a44e-a95b70ec5680/da472bf8-04fa-4660-a885-2c2b6b783dda

Affects both desktop and mobile and any version up to and including the latest Chrome 125.

I'm afraid the Poki error capturing doesn't capture any more details at the moment. Any specific details that could be useful can be added to this system if you have any suggestions.

RangeError: Failed to execute 'createBuffer' on 'GPUDevice': createBuffer failed, size is too large for the implementation when mappedAtCreation == true
 at new t (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:141085)
     at i.createBuffer (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:141830)
     at t.alloc (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:132307)
     at t.update (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:136059)
     at t.setupViewUniformBuffers (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:687993)
     at i.renderForwardLayer (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:710128)
     at i.renderRenderAction (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:696396)
     at i.execute (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:695599)
     at t.render (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:252042)
     at t.render (https://94176748-9ef8-42c9-a44e-a95b70ec5680.poki-gdn.com/da472bf8-04fa-4660-a885-2c2b6b783dda/playcanvas-stable.min.js:9:862622)

If it's useful I could try to put a version of the game live where the source isn't minified.

@mvaligursky
Copy link
Contributor

I made. change here that might help here: #6676

But I'm not sure why the error takes place as there's no limit specified on staging buffers (those are the only buffers we use with the mappedAtCreation.

I'll close it for now, but please re-open if this still takes place.

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

2 participants