calebcannon
calebcannon
https://github.com/KhronosGroup/UnityGLTF/blob/a0201a17abe24aefb48665cc330d5b9243f7693e/UnityGLTF/Assets/UnityGLTF/Scripts/Cache/AssetCache.cs#L97 Should probably be `bufferCacheData.Stream.Dispose();`
The DownloadHandlerBuffer implements GetData as a copy operation, so this line is creating two copies of the downloaded model in memory https://github.com/KhronosGroup/UnityGLTF/blob/21f73d6a68376d22c90cc73fda2a761809a3d30f/UnityGLTF/Assets/UnityGLTF/Scripts/Loader/WebRequestLoader.cs#L65 The documentation for DownloadHandlerBuffer.GetData is here https://docs.unity3d.com/ScriptReference/Networking.DownloadHandlerBuffer.GetData.html