- Home /
Textrue2D is not cleaned after Apply(false,true)
using this this code
var text = new Texture2D(0,0,TextureFormat.DXT5,false); www.LoadImageIntoTexture(text); text.Compress(false); text.Apply(false,true);
The Texture2D image memory is not cleaned even if I force GC to collect. I think its only getting cleaned after Destroy and its useless then...
Comment
Your answer
Follow this Question
Related Questions
Unity Crash - Texture2D.ReadPixels - Only Occurs in Builds on certain Machines 0 Answers
How do I know if there's enough graphics card memory to allocate a new texture? 0 Answers
Do any variables declared within methods generate memory allocation? 1 Answer
Does anyone know why Unity is using 7GB of memory? 0 Answers
iOS crash with "Memory pressure" error - too many sprites? 0 Answers