Hi People.
I have a rather urgent issue, hoping someone can shed some light please.
I am using WWW to load in 2048x2048 png textures at runtime. I am cycling thru an increasing pool of images over time:
this.LoadFile = new WWW("file:///" + path);
yield return loadFile;
this.FrontLabel.renderer.material.mainTexture = loadFile.texture;
this.LoadFile.Dispose();
this.LoadFile = null;
after running this for approx 5 minutes it crashes. OSX Activity Monitor shows a steadlily increasing Memory Load. How do I ensure unused WWW and textures are disposed of correctly?
thanks.