UnityGLTF
UnityGLTF copied to clipboard
bad cleanup after importing glb
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
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.
We also ran into this issue in runtime. Is this fixed ?
Please update to the latest version and open a new issue if the problem persists. Thanks!