Hi all,
I'm loading a texture from disk (not in resources) using the www method. It loads fine and I store it in a persistent 'singleton' class. The problem is when I then change scene, the texture disappears as if its been destroyed. The only thing I can think is that maybe manually loaded textures get purged when the scene changes, although I'm holding a persistent ref to it?!
Using c# scripting. Loading code in persistent class:
WWW w = new WWW(picName);
while (!w.isDone)
;
if (w.error == null)
{
mImage = w.texture; // Hopefully copies texture...
}
w.Dispose();
Any ideas on this?