- Home /
Unity won't let me load an image into a texture
I'm trying to download an image from a server and load it into a texture. I have tried two ways:
Using WWW.LoadImageIntoTexture
Manually downloading the data using a .NET TcpClient and converting it to a byte array and using Texture2D.LoadImage
Both ways failed with the same error. In the case of the manual download, I am sure that the data was correct when LoadImage was called.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613104248im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Image is not loading into Texture 0 Answers
the texture appear rubbish 1 Answer
WWW Texture access takes a long time 3 Answers
www.texture memory leak 1 Answer
Can't assign a texture from WWW to Image.material.maintexture 1 Answer