Hello Guest

Author Topic: Incorrect Platform atlases still hanging around in memory.  (Read 3384 times)

collectivemass

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 6
    • View Profile
Incorrect Platform atlases still hanging around in memory.
« on: October 22, 2014, 08:32:36 pm »
I have a large project that makes heavy use of the 1X,2X and 4X platform settings. I designed everything using the 4X platform. When I check the profiler (on iOS) on a lower platform devices, some 4X atlases were still in memory. Anybody know the solve? At the moment I am just calling Resources.UnloadAll after each scene load but this worries me because it makes me think that the 4X textures are being loaded first and then swapped out with the lower res textures. Is the solution just to set the platform to 1x when you compile for platform?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Incorrect Platform atlases still hanging around in memory.
« Reply #1 on: October 24, 2014, 07:15:21 pm »
What version of Unity is this in? There is a stupid bug introduced in  Unity 4.1 (I think) that I thought they'd fixed. Maybe it came back? Let me know, I have a few workarounds for this.