Texture.EncodeToPNG behaving strangely
Hello there, I am having trouble with saving images as PNG from texture. I have attached images, when trying to save an image, for some reason the quarters of the images are all mixed. Has anyone experienced this / knows why it happens / how to fix it?
Outcome shown in problem.png below, I added the redlines to help show the issue.
Thanks in advance.
original.png
(12.2 kB)
problem.png
(29.5 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613054523im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
RenderTexture to PNG on Android 0 Answers
UI problems 0 Answers
How can I get the click position on a Rawimage ui element? 0 Answers