Hello Guest

Author Topic: 2D Toolkit 2.4 beta 1  (Read 16589 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9650
    • View Profile
Re: 2D Toolkit 2.4 beta 1
« Reply #30 on: February 10, 2014, 06:25:57 PM »
Its something that works around how unity manages memory in the editor. Theres nothing to worry about or indeed care at runtime, this just affects how things are unloaded in the editor, as png atlases aren't assets - they simply linger forever (or until unity crashes). The unloader keeps track of things and unloads unused pngs.

DannyB

  • 2D Toolkit
  • Hero Member
  • *
  • Posts: 609
    • View Profile
    • Chicks Ahead
Re: 2D Toolkit 2.4 beta 1
« Reply #31 on: February 10, 2014, 06:40:16 PM »
Understood, thanks.

DannyB

  • 2D Toolkit
  • Hero Member
  • *
  • Posts: 609
    • View Profile
    • Chicks Ahead
Re: 2D Toolkit 2.4 beta 1
« Reply #32 on: February 11, 2014, 03:37:57 PM »
So, problem.
Using tk2d 2.3.3 I just noticed Unity started leaking memory every time I press play. So if I understand correctly, this PNG unloader is a part of 2.4 branch yes? So, I need to either avoid PNG atlases with 2.3.3 or use the 2.4 beta?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9650
    • View Profile
Re: 2D Toolkit 2.4 beta 1
« Reply #33 on: February 11, 2014, 03:39:28 PM »
PNG unloader is disabled in 2.3.3, and theres a bug in 2.4 beta1, drop me an email and i'll sort you out with the update. One file to drop in, works both in 2.3 & 2.4