Use Resources.Load() to load all kind of image success, include .jpg,.tga and so on. Use WWW to load *.jpg no problem , but load *.tga fail.
e.g:
string jpgPath = “file://D:\Texture\Scene1\0001.jpg”;
string tgaPath = “file://D:\Texture\Scene1\0001.tga”;
WWW wwwCache = new WWW(jpgPath);
WWW wwwCache2 = new WWW(tgaPath);
void Update()
{
if ( wwwCache.isDone )
_texture = _wwwCache.texture;
if ( wwwCache2.isDone )
_texture2 = _wwwCache2.texture;
}
The _texture is the jpg image, and using good. But _texture2 can not use , no image and no format info.
Is there any issue in use WWW to load tga file ?