- Home /
WWW Object Leaking?
On iOS I can see from the Xcode Profiler a certain CFNetwork Library is causing a lot of memory leaks. Calling Dispose() on WWW objects doesn't seem to do anything. I am using Unity 4.6 and testing on an iPhone5s device with iOS8.1.
CFNetwork just keeps throwing allocation in a linear manner as seen from the graph below. I've seen a lot of related issues but supposedly this was "fixed" in Unity 4.5. Also tried modifying the Objective-C code in WWWConnection.mm the method, UnityDestroyWWWConnection(...).
The WWW object is created in a IEnumerator function started as a Coroutine. Calling Dispose at the End.
Any ideas?
memoryleak.jpg
(372.8 kB)
Comment