Texture2D.EncodeToPNG not working on iOs on Unity 3.5.5f3

Can someone please check this out too? I made a series of test and it all points to this line:

	byte[] bytes = texture.EncodeToPNG();

the texture is fine, I double tested it, but the bytes.Length on iOs keeps returning low values around 8000 when in the Editor shows something around 564000.

I had it working before, on version 3.5.3 and it was working perfectly, after the update it just took screenshots as black images and I lost a lot of time trying to figure out what was going on.

I would be very pleased if someone could check if this is happening in other devices.

PS: I am using an iPhone 4s to develop this app.

“I had it working before, on version 3.5.3 and it was working perfectly, after the update it just took screenshots as black images and I lost a lot of time trying to figure out what was going on.”

+1