- Home /
ReadPixels generates corrupted textures on certain Android devices
I made a thread on this over here: http://forum.unity3d.com/threads/166137-ReadPixels-malfunctions-on-certain-Android-devices.?p=1135855#post1135855
But basically my workflow of generating a snapshot texture works fine on iOS, PC, and my own Android device, but malfunctions when I try it on other people's Android devices.
What could be causing this??
What's the Android version of your device, what's the version on these other people's devices? Which version did you enable in the Player Settings?
What's the resolution of the texture? Why is the resolution of the garbled snapshot so much higher than the thumbnail pic?
They're all above Android 4.0. I'm afraid I don't know the specifics other than my device is 4.1.1. I allow versions all the way back to 2.3. So far it generates the garbled texture on HTC® One S phones and LG-VS840 phones
The texture gets resized to 256x256. The garbled version is larger because I saved that thumbnail example after stripping out as much things as possible to debug (like the resizng).
Your answer
Follow this Question
Related Questions
EncodeToPng that works more smoothly on mobile 1 Answer
Can a Texture2D be created at runtime from a snapshot of a RenderTexture? 3 Answers
Texture2D.EncodeToPNG not working on iOs on Unity 3.5.5f3 1 Answer
Wrong colors from ReadPixels() 0 Answers
help packing 16 textures into a packedTexture using RenderTexture 0 Answers