I have a very long photo and I want to download it in Unity I get this error : ( Texture has out of range width / height ) what can i do
This is the picture : https://team1x1.com/wp-content/uploads/TeamX-upload/manga_5fddfe622f64e/5fddfe6239587/1/002.jpg
I downloaded the image and then saved it to the files and when it was called to the scene I get this error :
Texture has out of range width / height UnityEngine.ImageConversion:LoadImage (UnityEngine.Texture2D,byte[])
byte[] fileData;
fileData = File.ReadAllBytes(filePath);
texture = new Texture2D(32, 32);
texture.LoadImage(fileData); //At this line the error comes
Give me your opinion on how to overcome this problem ؟؟