Replacing a texture

What happens to a texture when u replace it with another one. lets say i have a 4096x2 tex and i replace it with a 32x2 during runtime what happens to the 4096 texture as it pertains to system ram?

I don’t think it’s officially defined. Unofficially, assuming you have no other references to the big texture anywhere among your live objects, I would expect it to get garbage collected sooner or later.

1 Like

Cool thx is this more or less efficient than telling unity to remove the texture via code?