For the longest time my app has been working without any issues and recently I noticed that it kept crashing after using the webcamtexture. This is the error I am getting in XCode; Code (CSharp): malloc: *** error for object 0xebd5aa0: pointer being freed was not allocated After I use the webcamtexture and store it using getPixels(), I then stop the cam and continue with my next page in the app but I have some Resources.unloadUnusedAssets around to clear up some textures but it seems when that gets called right after using the web cam, I receive the error above. I have been trying so many different things to get this done but it seems to be crashing only after I do texture2d.setPixels(webcamtexture.getPixels()) followed by the Resources.unloadUnusedAssets(); This is very important and I need to get a fix for this asap. PS. I am using Unity 4.6.3 and this issue does NOT occur in Unity 4.6.1 Thanks!