UnityGLTF icon indicating copy to clipboard operation
UnityGLTF copied to clipboard

bad cleanup after importing glb

Open phanemy opened this issue 5 years ago • 2 comments

I have update my version of UnityGltf (my previous version date from some month) and now when importing glb in editor and now some asset are still in memory at the end of the import, to have the same memory footprint as before i need to use Resources.UnloadUnusedAssets(); at the end of gltfImport.OnImportAsset

phanemy avatar Jun 13 '19 13:06 phanemy

I have a similar problem. I load several .glbs in a row. In the Unity Editor it just freezes the UI for a while but in the build version i get a "GC Warning: Out of Memory!" which leads to a crash. There needs to be a better way to free up Memory.

DevSelchow avatar Sep 12 '19 12:09 DevSelchow

We also ran into this issue in runtime. Is this fixed ?

Dryra avatar Apr 09 '20 13:04 Dryra

Please update to the latest version and open a new issue if the problem persists. Thanks!

pfcDorn avatar Feb 09 '24 09:02 pfcDorn