Hi everyone, I working currently on a game for Tizen platform and I have a little issue concerning Texture2D.ReadPixels()
I explain you quickly the problem, in my game, I need screenshot a camera and display the render on a UI, to do that I use Texture2D.ReadPixels() and display the texture2D on an UI image raw.
On all platforms, everything working great, even on the Tizen emulator, but when I try with a “real” Tizen device, the result of ReadPixels is a texture completely blue.
I attach you a picture of that, the result is the blue square in the center:
I saved the texture on the phone to be sure the problem isn’t the display on the image raw … and the result is the same an image completely blue.
Last information, I start, I built my app with unity 5.5.0, now I build with 5.6.2 and the result is not exactly the same, the UI is displayed on the screenshot:
Ok, I finally find the problem, and it’s not coming only of the methods screenshotTexture.ReadPixels.
The problem was at the same time, I activate a RenderTexture on the camera.