You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Edit: I found this while looking at #11871, and based on a recent comment there, this now turns out to be a duplicate. Either of these issues could be closed as a duplicate of the other, but the description here is more focussed on the reason for the problem, and includes test data)
What happened?
When loading a glTF model that has many external textures in Chrome, then it will suddenly report ERR_INSUFFICIENT_RESOURCES errors from this line in Resource.js.
Note that this is NOT related to the size or number of textures in general. The textures in my test model are intentionally only 32x32 pixels, and when loading it as a single GLB, then it works. This is really related to the number of requests that are going out.
Reproduction steps
Start Cesium server locally
Drop the CesiumManyTextures folder from the attached file into Apps\SampleData\models\
Use Chrome to start the Sandcastle that is stored as _Sandcastle.js in the archive
(It contains the model as .gltf, where the issue can be observed. It also contains the .glb, which works as expected)
It should display the model like this, here rendered with FireFox:
Instead, it bails out with the ERR_INSUFFICIENT_RESOURCES error at some point (and then, does no longer display any textures at all - which is particularly unfortunate)
Sandcastle example
(Included in the archive above, using the data from the archive)
Environment
Browser: Chrome only. (It works on FireFox - for me, at least)
CesiumJS Version: 1.114
Operating System: Win10
The text was updated successfully, but these errors were encountered:
(Edit: I found this while looking at #11871, and based on a recent comment there, this now turns out to be a duplicate. Either of these issues could be closed as a duplicate of the other, but the description here is more focussed on the reason for the problem, and includes test data)
What happened?
When loading a glTF model that has many external textures in Chrome, then it will suddenly report
ERR_INSUFFICIENT_RESOURCES
errors from this line inResource.js
.Note that this is NOT related to the size or number of textures in general. The textures in my test model are intentionally only 32x32 pixels, and when loading it as a single GLB, then it works. This is really related to the number of requests that are going out.
Reproduction steps
CesiumManyTextures
folder from the attached file intoApps\SampleData\models\
_Sandcastle.js
in the archiveThe archive:
CesiumManyTextures.zip
(It contains the model as
.gltf
, where the issue can be observed. It also contains the.glb
, which works as expected)It should display the model like this, here rendered with FireFox:
Instead, it bails out with the
ERR_INSUFFICIENT_RESOURCES
error at some point (and then, does no longer display any textures at all - which is particularly unfortunate)Sandcastle example
(Included in the archive above, using the data from the archive)
Environment
Browser: Chrome only. (It works on FireFox - for me, at least)
CesiumJS Version: 1.114
Operating System: Win10
The text was updated successfully, but these errors were encountered: