Random RangeError #3383
Replies: 2 comments 1 reply
-
You can skip the legacy version; we don't support that anymore since IE is defunct. The texture looks like a blob, so I don't think it's really a separate file, just another buffer. Out-of-bounds makes it sound like it may be out of GPU memory, which would explain why it's not easy to repro. You might consider converting your glTF files to use KTX2 textures, as these save a lot of GPU RAM. |
Beta Was this translation helpful? Give feedback.
-
@elalish thanks for your reply. Out of GPU memory seems hard to believe, this happens with small models of just a few MBs both on mobile and on a desktop with a GTX 1080 of 6GB with nothing else eating up that memory. What else could cause this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Every once in a while we run into the issue of the 3d model not loading in ModelViewer, but if we reload the page the model loads fine and every time afterwards (and every time before also). this is very hard to reproduce so it's very hard to debug, I was hoping that by showing you the error you could either have a clue about what would cause this and maybe either say if this could be an issue of modelviewer or if the problem is definitely somewhere else.
Note that we only use GLBs, no separated texture files so i don't know why it is trying to load a texture from separate urls that don't even exist. But this all works fine 99% of the time which makes it really hard to debug.
In case you need this info, we load modelviewer like this:
Beta Was this translation helpful? Give feedback.
All reactions