Quantcast
Viewing all articles
Browse latest Browse all 85

Assets not unloading on scene change in Android (works on iOS)

So I've got a strange problem, I can't seem to unload assets between scenes in my app. On iOS everything is fine, but on Droid the memory usage just keeps going up and the profiler shows that the NGUI atlases from each scene are all in memory at once. I load new scenes through a loading screen scene (to ensure minimal assets are required) and there are numerous calls to Resources.UnloadUnusedAssets and GC.Collect between levels. None of my assets appears to ever unload however. I'm trying to figure out why this happens only on Android. Any clues would be welcome.

Viewing all articles
Browse latest Browse all 85

Trending Articles



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