我有一张很长的照片,我想在 Unity 中下载它我收到此错误:(纹理的宽度/高度超出范围)我该怎么办
这是图片:https ://team1x1.com/wp-content/uploads/TeamX-upload/manga_5fddfe622f64e/5fddfe6239587/1/002.jpg
我下载了图像,然后将其保存到文件中,当它被调用到场景时,我收到了这个错误:
纹理的宽度/高度超出范围 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
就如何克服这个问题给我你的意见؟؟