Quantcast
Channel: Questions in topic: "xcode"
Viewing all articles
Browse latest Browse all 1047

WWW Object Leaking?

$
0
0
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? ![Profiler Data From Xcode][1] [1]: /storage/temp/36372-memoryleak.jpg

Viewing all articles
Browse latest Browse all 1047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>