glTF & WebGL out of memory

Hi!

we’re using the GLTFUtility (GitHub - Siccity/GLTFUtility: Simple GLTF importer for Unity) to load glTF models from a remote server - Importer.LoadFromFile(filePath) - and render it on a Unity scene.
We build and deploy the WebGL.

it works great with glTF files under 50 MB but goes in the classic out of memory error with larger files:

“Out of memory. If you are the developer of this content, try allocating more memory to your WebGL build in the WebGL player settings”

We tryed to set

webGLEmscriptenArgs: -s ALLOW_MEMORY_GROWTH=1

and increase the value of

webGLMemorySize

in ProjectSettings.asset with no results.

Some idea?

Thank you.

Hi, have you solved this problem? Ty

Hi @IonutDragan ,
no, unfortunately we didn’t solve the problem yet…

As we can read also on official Unity manual, there are memory limits: