www not loading from image file

When I use www to load a texture image it works fine if I load a random image from the web, but when I load the image from my hard disk with the file protocol it returns a white texture with a red question mark instead. Can someone explain to me what properties my texture files should and shouldn't have, or an alternative to the texture files being the problem?


This was answered on the other question I posted. Thankyou to all who helped. Unity doesn't support bmp files

Are you using an absolute or relative path to the file? It appears to need an absolute one including the drive letter (e.g. using Application.dataPath).

Also, you do have to add the "file://C:/ - so your var should look like this

var url = "file://C:/Desktop/yourImage.jpg";