5
« on: September 24, 2014, 09:32:47 pm »
I apologize if this has been covered before - I've been reading through the forums and found some relevant threads, but still haven't been able to get this figured out.
I'm optimizing my iOS game built with Unity and 2d Toolkit, and running into some memory issues. The texture assets that are loaded in any given scene don't seem to be unloaded when I jump to a new scene. Here are some of the permutations I've tried:
Scene A -> Scene B: While in Scene B, texture assets from both A and B are in memory
Scene A -> blank scene -> (additive load) Scene B: same result as above
Scene A -> blank scene: texture assets from scene A are still in memory while I'm in the blank scene
When I say "in memory", I mean that I'm using the Unity profiler while running the game on my iPad, and selected a Detailed Sample of the memory so that I can see exactly what's there.
Thank you in advance for any help!
Best,
Jenna