I’m trying to load a file on Android using WWW and I’m getting an error.
void Start()
{
WWW downloadedAsset = new WWW("file://sdcard/Music/mywavfile.wav") ;
}
Void Update()
{
if (downloadedAsset.isDone)
if (downloadedAsset.error != null )
Debug.Log("WWW - Download - ERROR -> "+downloadedAsset.error) ;
else
[Do stuff]
}
*I keep getting the error “java.io.ioexception unable to connect to server - Host is unresolved:sdcard” *
I have found that but that’s not helping
Do you have any idea please?